Creating execution occurrences
Execution occurrences show the beginning and end of the unit of behavior (the actions performed by an operation or event) that is triggered by a specific message.
About this task
Note: To animate a sequence diagram automatically,
set the
SequenceDiagram::General::AutoLaunchAnimation
property
to one of these options: - Always launches the sequence diagram automatically.
- If In Scope launches animation only if the
sequence diagram is in the active component scope.
The Never option for this property prevents automatic animation and is the default.
Procedure
There are two ways to draw interaction occurrences:
Results
You can have Rhapsody® create
execution occurrences automatically when you create messages by setting the
SequenceDiagram::General::AutoCreateExecutionOccurrence
property to
Checked
. Execution occurrences are drawn at the beginning and end of the
message.
Note the following information:
- If you move a message, its execution occurrences move with it.
- You can resize execution occurrences (lengthwise), but cannot move them.
- If you move a message with execution occurrences or resize them so they overlap other execution occurrences, they are "merged," as shown in this example.