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 Activity Diagram

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

  • Each scenario step is modeled as an Activity
  • The values of the Uses, Results and State columns for each step are added as memo Tagged Values of the corresponding Activity

Access

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

Ribbon

Design > Element > Editors > Scenarios (existing scenario) : Edit

Design > Element > Editors > Properties Dialog > Scenarios > Scenario Editor

Context Menu

Right-click on element | Properties | Responsibilities > Scenarios (existing scenario) : Edit

(In the 'Element' tab of the Browser window) Right-click on scenario | Show Scenario Editor

Keyboard Shortcuts

Ctrl+4 > Scenarios (tab of the Responsibilities Window)

Shift+Enter > Scenarios ('Properties' dialog)

Shift+Alt+S ('Properties' dialog)

Alt+9 > Scenarios

Other

On diagram, right-click on element > Properties > Special Action > Scenarios > Scenario Editor

Example

Showing a structured scenario for a UML Activity diagram.

Diagram Types

There are three additional variations of the Activity diagram that you can generate.

Diagram

Detail

See also

Activity with ActivityParameter

  • The values of the Uses and Results columns are modeled as ActivityParameters
  • The ActivityParameters are added to the Browser window and not to the diagram
  • The value of the State column is added as a Tagged Value of each Activity
Generate Activity Diagram

Activity with Action

  • The scenario steps are modeled as Actions
  • The values of the Uses, Results and State columns are added as Tagged Values of each Action
Generate Activity Diagram

Activity with ActionPin

  • The scenario steps are modeled as Actions
  • The values of the Uses and Results columns are modeled as Input Pins and Output Pins respectively
  • ActionPins are added to the Browser window and not to the diagram
  • The value of the State column is added as a Tagged Value of each Action
Generate Activity Diagram

Learn more