In UML modeling, a transition is a relationship between
two states in a state machine diagram. A series of states connected
by transitions describes the various states of an object and the
order in which each state is entered.
Before you can add a transition to a state or
pseudostate, you must have a state machine diagram open in the Modeling perspective.
To add transitions to states and pseudostates:
- In the Palette, click Transition.
- Click and drag the source state and drag to the target
state.
- Type a name for the transition and press Enter.
- In the Properties view, click the General tab.
- On the General page, in the Kind list,
complete one of the following steps:
- To specify that the transition does not enter or
exit the source state when triggered, click Internal.
- To specify that the transition does not exit the source
composite state when triggered, click Local.
- To specify that the transition will exit the source composite
state when triggered, click External.