Activity Diagrams
Activity diagrams help you review and analyze the behavior of a system by describing what it does as a series of actions connected by flows. Activity diagrams are often used to specify use cases.
This example shows the Manage Leave Requests activity. The diagram frame represents the activity block Manage Leave Requests. The activity receives leave requests as the inputs and generates approval or decline messages as the outputs.

To create an activity diagram, click the Create New Model command in the homepage Quick Links card (see Creating a Model), enter a name, select Object-Oriented Model in the Type list and SysML Activity Diagram in the Template list, and click Create.
-
Opening a use case diagram (see Use Case Diagrams) and double-clicking the use case (see Use Cases) that you want to analyze. The new activity diagram is created as a related diagram of the use case, listed in the Diagrams tab Related Diagrams category of the use case's property sheet.
-
Opening a block definition diagram (see Block Definition Diagrams), selecting the activity block (see Activity Blocks) that you want to analyze and clicking Create Activity Diagram.The new diagram is listed in the Diagrams tab All Diagrams category of the activity block’s property sheet.
The new diagram is initialized with a frame, which represents the boundary of the activity block. The activity parameters of the activity block are also displayed on the diagram frame.
To change the orientation of activity diagrams, choose or Change to Horizontal Orientation.
|
Tool |
Description |
|---|---|
|
|
Reuse Model Objects. Opens a list to allow you to drag existing model objects into the diagram. |
|
|
Partition. See Partitions. |
|
|
Initial. Specifies the starting point of an activity. Drag the tool from the toolbox and drop it onto your diagram. Use its context menu to create the next object in the flow. |
|
|
Final. You can create 2 types of finals: Activity final (default) – Specifies the ending point of the whole activity. Flow final – Specifies the ending point of a flow. Drag the tool from the toolbox and drop it onto your diagram. In its context menu or property sheet, use the Change Final Type tool to change the final type as appropriate. |
|
|
Action. See Actions. |
|
|
Call Behavior Action. See Actions. |
|
|
Send Signal Action. See Actions. |
|
|
Accept Event Action. See Actions. |
|
|
Time Event Action. See Actions. |
|
|
Object Nodes. See Object Nodes. |
|
|
Activity Parameters. See Activity Parameters. |
|
|
Decision Nodes. See Decisions and Merges. |
|
|
Interruptible Activity Region. See Interruptible Activity Regions. |
|
|
Synchronizations. See Synchronizations. |
|
|
Note. Add notes to your diagram and link them to your symbols. |
|
|
Flow. See Flows. |
|
|
Link – Provides an alternative way to create a link. Select the tool and connect two objects with a default link, then choose Change Link Type to change to another link as appropriate. This tool is available in both the diagram toolbox and in the context menu of the relevant objects. |
|
|
Lasso. Select multiple symbols by dragging over them. |



















