Working With Model Items and Diagrams > Working with diagrams > Diagram types > State diagram
State diagram
For information about Dynamic Modeling or System Modes Modeling in Modeler, see Dynamic modeling overview and System modes modeling overview.
The State Diagram shows allowable modes and the events that cause the transition between modes. In general, a State Diagram used for System Modes Modeling requires less detail than State Diagrams used for Dynamic Modeling.
You can create a State Diagram through the context menu of a State Machine:
Right-click the State Machine, point to New, and then click State Diagram.
When the UML Profile is present in the Model, you can create a State Diagram from an Actor, Class or Use Case (Modeler creates a State Machine to own the State Diagram):
Right-click a Actor, Class the Use Case, point to New, point to UML, and then click State Diagram (via State Machine).
Note that when you create a State Machine from a Class or Interface, Modeler also creates a State Diagram as a child of the new State Machine.
A State Machine can own many State Diagrams.
The following sections provide information about how a State Diagram is used in the model. For more information about an item, property or model part, click it.
Shows these dictionary items
Like most diagrams, a State Diagram can show variability items and relationships. See Overview of variability items and relationships on diagrams.
For most diagram symbols, you can change the presentation of the symbol through the Style view options (See Style view options - all diagrams), and change the showing of Stereotypes and Tag Definitions through the Stereotypes view options (See Stereotypes view options for a symbol - all diagrams). When a symbol has additional view options for changing its presentation, this icon is shown - to see how the view options can change the presentation, click the icon.
Activity (as a Do activity)
Atomic State
Concurrent State
Connection Point Reference
Entry State
Event Action Block
Exit State
Final State
Fork State
History State
Initial State
Join State
Junction State
Operation(as a Do activity)
Sequential State
State Machine (attached to frame)
Submachine State
These items (which are not documented in the reference topics) can also appear on a State Diagram.
Frame Box - provides a way of adding a box or background image to the diagram.
Note - provides a way of adding text to the diagram.
Note Link - links a Constraint, Comment or Note to an item on the diagram.
A State Diagram has these properties:
Full Name
Last Changed By
Last Changed On
Page Reference
Owned by
Atomic State
State Machine
Used in these parts of the model
State Model
Can be linked to these dictionary items