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:
Procedure
There are two ways to draw interaction
occurrences:
- Select the message in the sequence diagram,
right-click, and select Add Execution Occurrences.
- Click the Execution Occurrences button in
the Diagram Tools, then select the appropriate message in the
sequence diagram.
Results
You can have IBM® Rational® 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.