Topics
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:

Ribbon

Design > Element > Manage > Properties > Scenarios > Structured Specification : | Activity  or

Design > Element > Manage > Specific Properties Page > Scenarios > Structured Specification : | Activity

Context Menu

Right-click on element | Properties > Scenarios > Structured Specification : | Activity or

Right-click on element | Properties Page | Scenarios > Structured Specification : | Activity

Keyboard Shortcuts

Alt+Enter : Scenarios > Structured Specification : | Activity  or

Shift+Alt+S > Structured Specification : | Activity

Other

Double-click on Element : Scenarios > Structured Specification : | Activity

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