Contents | SCXML Wiki | Forum |
---|
Transitions define how a state reacts to events that are generated either by the state machine or external entities. When events occur, the state machine checks for a matching transition defined in the active state and moves to its target state.
A self transition is a transition that starts and ends in the same state.
Multiple self transitions may be quickly arranged by pressing 'Arrange Self-connections' menu item. Primary left and right coordinates for transitions are defined by the first transition
It is available since ScxmlEditor 2.4 to arrange self transitions inside of state.
SelfConnectionInside
to true
in the property inspectorArrange Self-Connections
command from IDE Insight or right popup menuA delayed transition is a transition that happens after a period of time, specifically being in a specific state for a certain amount of time.
Delayed transitions are not part of SCXML. Instead, you have to specify to send a delayed event, and a normal transition that handles that event. The delayed event must be given a name, and also a unique identifier (in order to cancel the delayed event).
Press 'Ctrl+C'
Select two states that would be a source and a target of the transition
TOP | Contents | SCXML Wiki | Forum |
---|