Page not found (404)
I’m sorry, but the page you were looking for did not exist. Sometimes I make a link to a page with the intention of adding that page later on, and perhaps you stumbled upon one of those. In any case, we’re sorry. If you have a question, feel free to ask in our GitHub Discussions or Gitter chat.
If you’re just browsing check out these great pages instead:
Please take your time to look through the glossary if there’s any concept you’re unclear about:
Glossary
- Action — Code that is executed as the state machine performs transitions
- Activity — A long running process that is usually tied to the state machine being in a state
- Atomic state — a state that has no substates
- Automatic transition — a transition that happens immediately upon entering a state or immediately after a condition arises
- Compound state — A state that has one or more substates
- Condition state — A pseudo-state that only has transitions, guarded in such a way that it immediately moves to another state.
- Delayed event — an event that is raised some time after a transition takes place.
- Delayed transition — a transition that executes automatically when a machine has been in a state for a particular amount of time
- Enter — A state becomes an active state in a running state machine
- Event — A trigger for a transition, typically an signal from the outside world that something has happened
- Exit — A state stops being an active state in a running state machine
- Final state — a helper state which designates that its parent state has completed
- Generated event — An event generated by the statechart itself
- Guard — A boolean check imposed on a transition to inhibit the execution of the transition
- History state — A pseudo-state that remembers the most recent sibling states that were active
- Initial state — The state which is entered when a state machine starts, or when a compound state is entered.
- Internal event — An event caused by the statechart itself, and processed immediately
- Local transition — A transition between a state and its children that skips exiting or entering the state in question
- Parallel State — a compound state that divides its substates into separate state machines that all get to be active at the same time
- Pseudostate — A set of types of state that are transient in nature.
- Raised event — An event generated explicitly by the statechart
- Refine — The conversion of an atomic state to a compound state by the addition of substates.
- Self transition — A transition from a state back to itself.
- State — A particular behaviour of a state machine
- Transition — The instantaneous transfer from one state to another.
FAQ
- My UI is simple, do I really need statecharts if my events always lead to specific actions? —
- Statecharts go against the grain of my tech stack. Why should I use them? —
- Are statecharts worth adding another library? —
- Does using statecharts increase the number of lines of code? —
- If statecharts are so great, why aren't they used more widely? —