Book a Demo

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

Prev Next

Generate StateMachine Diagram

When you create a scenario on an element and then generate a StateMachine diagram, a StateMachine is created as a child of the selected element to act as a container for the diagram.

  • Each value in the 'State' column is modeled as a State
  • The scenario steps become the Transition connectors between the States
  • The values of the 'Uses' and 'Results' columns are added as Tagged Values of the Transition connectors


On a diagram or in the Project Browser, select an element and use one of these access paths to display the 'Structured Specification' tab, then click on Scenario Generation Dialog  and select 'State'.


Design > Element > Responsibilities > Scenarios > Structured Specification 

Design > Element > Properties > Properties Dialog > Responsibilities > Scenarios > Structured Specification

Context Menu

Right-click on element | Properties | Responsibilities > Scenarios > Structured Specification

Keyboard Shortcuts

Alt+Enter > Scenarios > Structured Specification  or

Ctrl+Shift+3 > Scenarios > Structured Specification  or

Shift+Alt+S > Structured Specification


Double-click on element > Scenarios > Structured Specification


Showing a structured scenario for a UML State Machine diagram.

Learn more