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, and select New > 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 an Actor, Class or Use Case, and select New > UML > 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)
Operation(as a Do activity)
State Machine (attached to frame)
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.
Properties
A State Diagram has these properties:
Name
Type
Owned by
Used in these parts of the model
Can be linked to these dictionary items