add Automatic Transition
fun addAutomaticTransition( startState: State, guardKey: GuardKey?, actionKey: ActionKey?, endState: State)
Content copied to clipboard
Add an automatically taken transition.
Parameters
start State
The starting state for the arc.
guard Key
The guard that must be satisfied for a transition to be taken, possibly null if no guard should be checked.
action Key
The action to run during the transition, possibly null if no action should be performed during transition.
end State
The ending state.