In Unified Modeling Language (UML) sequence diagrams,
you can create combined fragments to visually represent constructs,
such as options, alternatives, loops, in interactions.
You must have a sequence diagram with lifelines
open in the diagram editor.
To create a combined fragment, in the
Palette,
click a combined fragment type and complete one of the following
steps:
- To include selected lifelines in the
combined fragment, click in the interaction frame and drag the combined fragment
across several lifelines without covering any messages or interaction
fragments. In the Add Covered Lifeline window
that lists the crossed lifelines, click OK.
- To include all lifelines in the interaction frame in the combined
fragment, click in the interaction frame without covering any lifelines,
message, or interaction. In the Add Covered Lifeline window,
with all lifelines in the interaction frame selected, click OK.
- To include selected lifelines, messages, and interaction fragments
in the combined fragment, click in the interaction frame and drag
the combined fragment across several lifelines that cover existing
messages or interaction fragments. The covered messages and interaction
fragments are displayed in the first interaction operand of the
combined fragment.
Note: You can exclude specific lifelines
from the combined fragment regardless of their order in the interaction
frame by clearing them from selection in the Add Covered
Lifeline window.