In sequence diagrams, you can create an interaction occurrence,
which appears in a frame with a ref heading, by creating
a new interaction, specifying a new unspecified occurrence, or selecting
an existing interaction. To open the referenced interaction, double-click
the interaction occurrence. If you delete an interaction occurrence,
the referenced interaction remains in the model.
To create an interaction occurrence:
- Open a sequence diagram that contains multiple
lifelines.
- In the Palette, click Interaction
Occurrence.
- Click inside the interaction frame and, in the window
that opens, complete one of the following steps:
- To create an interaction occurrence with an unspecified
interaction, click Unspecified.
- To create an interaction occurrence with a new interaction,
click Create New Interaction.
- To create an interaction occurrence with an existing interaction,
click Select Existing Element; then, in the Select
Element window, click an existing interaction and click OK.
- In the Add Covered Lifelines window,
click the lifelines to cover and click OK.
- Type a name for the interaction occurrence and press
Enter.
Tip: To add an interaction occurrence to
a single lifeline, in the Palette, click Interaction
Occurrence and, in the interaction frame, click a lifeline;
then in the window that opens, click Unspecified, Create
New Interaction, or Select Existing Element.