Prev | Next |
StateMachine Diagram
The StateMachine diagram is one of the Unified Modeling Language (UML) Behavioral diagrams that can be used to model the important phases in the lifetime of an element. It is often thought of as a diagram for technical uses but it has equal applicability for non technical audiences. The StateMachine is defined for a selected entity in the system and a perspective is defined that will be modeled by the States and other elements and connectors in the diagram.
Getting to know the StateMachine Diagram
Where to find the StateMachine Diagram |
Ribbon: Design > Diagram > Add Diagram > UML Behavioral > StateMachine Browser window Toolbar : New Diagram icon > UML Behavioral > StateMachine Browser window context menu | Add Diagram... > UML Behavioral > StateMachine |
Usage of the StateMachine Diagram |
The StateMachine diagram is used to model the important phases in the lifetime of a system entity. It can be used to model business entities such as Bank Accounts or technical entities such as a Traffic Light Control system. |
Options for the StateMachine Diagram |
The StateMachine diagram can be automatically converted to an analogous model in a State Table Editor. This can be an appealing representation for some users and the editor provides an easy to use interface to add new States and Transitions. StateMachine diagrams and Tables can be used to create Model Simulations that will allow the modeler to visualize, explore and test the dynamic behavior of the StateMachine. StateMachines can also be used to generate code into Hardware Description Languages (HDL). The StateMachine diagram (like any diagram) can be viewed as an Element List, which makes working with the element's properties easier. Diagram Filters can also be used when presenting the diagrams to draw attention to parts of the diagrams and the diagrams can be presented as hand drawn or in a whiteboard style by changing the properties of the diagram. |
Learn more about the StateMachine Diagram |