Page History
Excerpt | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A lifeline represents an individual participant in the Interaction. The lifeline represents only one interacting entity, symbolized by a rectangle. The following steps show you how to work with a lifeline:
Assigning a type to a lifelineTo assign a type (classifier) to a lifeline, do one of the following:
Showing/hiding a base classifierTo hide/show a base classifier
Displaying lifelinesYou can display lifelines on the Sequence or Communication diagram in the following ways:
There are two situations in which you can use the Display Lifelines dialog to automatically display lifelines:
Deeply nested partsThe “dot notation” is available for the lifelines. Now you can send messages directly to the deeply nested parts. To display a deeply nested part
Activation bars on lifelinesBy default, when there is a message sent between lifelines in a sequence diagram, the lifelines are displayed with activation bars on them. However, you can hide the activation bars from the diagram.
|
Sample model
The models used in the figures of this page is the Communication diagram and Sequence diagram sample models.
To open this sample
- Find in modeling tool:
- <modeling tool installation directory>\samples\diagrams\communication diagram.mdzip.
- <modeling tool installation directory>\samples\diagrams\sequence diagram.mdzip.