Creates a new instance of the Transition class.
The target Vertex of the Transition; this is an optional parameter, omitting it will create an Internal Transition.
The kind the Transition; use this to set Local or External (the default if omitted) transition semantics.
The kind the Transition; use this to set Local or External (the default if omitted) transition semantics.
The source Vertex of the Transition.
Adds and Action to a Transition.
The Action to add to the Transition behavior.
Turns a Transition into an else transition. Else [[Transitions]]s can be used at Junction or Choice PseudoState if no other Transition guards evaluate true, an else Transition if present will be traversed.
Removes the Transition from the StateMachine model.
Returns a the Transition name.
Defines the guard condition for the Transition.
The guard condition that must evaluate true for the Transition to be traversed.
Generated using TypeDoc
Represents a State change that may occur in response to a message; essentially, the Transition represents a path between two Vertex instances.
Transitions come in a variety of types and are described by the TransitionKind enumeration.