Presentation of the State Machine Diagram
A state machine is the set of states and transitions between states that define the life cycle of an object that is variable over time.
The state machine diagram enables representation of the sequence of states that an object can take in response to interactions with the objects (internal or external to the studied system) in its environment.
Example of state machine diagram
The diagram below describes possible behaviors of an automated teller machine:
See also:
Creating a State Machine Diagram
A state machine diagram is created from a state machine.
You can create a state machine from a package, class or component.
To create a state machine diagram:
1. Right-click the state machine.
2. Select New > State Machine Diagram.
The diagram is initialized by creation of a region. A region is part of a composite state or state machine which contains states and transitions and of which execution is autonomous.