Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

State Machines

State Machines illustrate how an element (often a Class) can move between states, classifying its behavior according to transition triggers and constraining guards.

Naming

·State Machines were formerly known as State diagrams
·State Machine representations in UML are based on the Harel State Chart Notation and therefore are sometimes referred to as State Charts

State Tables

You can display a State Machine as a diagram, or as a table in one of three relationship formats.

Select the display format

Step

Action

See also

1

Right-click on the diagram background and select the Statechart Editor context menu option.

 

 

2

Select the appropriate display option:

·Diagram
·Table (State-Next State)
·Table (State-Trigger)
·Table (Trigger-State)
 

 

 

State Machine Table

Example Diagram     Example State Machine Diagram

Toolbox Icons  

Select State Machine elements and connectors from the State pages of the Toolbox; click on the element and connector icons below for more information.

State Machine Diagram Elements

State Machine Diagram Connectors

e_State

c_Transition

e_statemachine

c_ObjectFlow

e_Initial

 

e_Final

 

e_History

 

e_Synch

 

e_Object

 

e_Choice

 

e_Junction

 

e_Entry

 

e_Exit

 

e_Terminate

 

c_ForkJoinAcross

 

c_ForkJoinUp

 

Learn more