Creating interaction uses from existing elements

You can create an interaction use from existing elements to simplify and improve the readability of a sequence diagram.

Before you begin

A sequence diagram that contains at least one element must be open.

Procedure

  1. In the diagram editor, select the elements to include in the interaction use. Selecting a message also creates lifelines in the interaction use.
  2. Right-click in the diagram editor, then click Refactor > Refactoring Into New Interaction.
  3. Type a name for the interaction use.

Results

An interaction with the name you specified is created in the diagram. Double-click the interaction use to open a new diagram which contains the elements in the interaction use.

Feedback