addAutomaticTransition

fun addAutomaticTransition(startState: State, guardKey: GuardKey?, actionKey: ActionKey?, endState: State)

Add an automatically taken transition.

Parameters

startState

The starting state for the arc.

guardKey

The guard that must be satisfied for a transition to be taken, possibly null if no guard should be checked.

actionKey

The action to run during the transition, possibly null if no action should be performed during transition.

endState

The ending state.