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 Project Browser, select an element and use one of these access methods to display the 'Structured Specification' tab, then click on and select 'Activity'.

Ribbon

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

Other

Double-click on element > Scenarios > Structured Specification

Example

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 Project Browser and not to the diagram
  • The value of the State column is added as a Tagged Value of each Activity

ActivityParameter

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

Action

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 Project Browser and not to the diagram
  • The value of the State column is added as a Tagged Value of each Action

Action Pin

Learn more