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

Access

On a diagram or in the Browser window, click on the element and select one of these access methods to display the Scenarios view, then click on Scenario Generation Dialog and select 'State'.

Ribbon

Start > Desktop > Design > Scenario Editor

Context Menu

Browser window > Element | Scenarios | New Scenario > Scenario View

Browser window > Element > Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+1 > Scenario Editor

Other

On the 'Scenarios' tab of the Responsibilities window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibilities Window Help topic)

On the 'Scenarios' tab of the element 'Properties' dialog, click on the Structure Editor button (see the Scenarios Tab - Properties Dialog Help topic)

Example

Learn more