State machine navigation#
State machine class#
The StateMachine.all_transitions method returns all transitions in the state machine.
Property / method |
Description |
|---|---|
List of states in the state machine. |
|
Get the initial state of the state machine. |
|
Get the default state of the state machine. |
|
Get a specific state by its name or lunum. |
State class#
Property / method |
Description |
|---|---|
List of weak transitions from the state. |
|
List of strong transitions from the state. |
|
Get all direct target states reachable from this state. |
Transition class#
Fork class#
Property / method |
Description |
|---|---|
List of out-going transitions from the fork. |
|
Incoming transition to the fork. |
Examples#
Check the state machine example for more details.