In Unified Modeling Language (UML) sequence diagrams,
you can add create messages or destroy messages to lifelines to
represent the creation or the destruction of interaction instances.
You add a create message above any messages and interaction fragments
that are covered by the lifeline; you add a destroy message below
the messages and interaction fragments.
You must have a sequence diagram with multiple
lifelines open in the diagram editor.
To add a create or destroy message to a lifeline:
- In the Palette, click Create
Message or Destroy Message.
- Complete one of the following steps:
- To add a create message, click the source lifeline
from which the messages originates and drag it to the destination
lifeline where you want to create a new interaction instance. The
head of the interaction instance aligns with the termination point
(message arrowhead) of the message.
- To add a destroy message, click the source lifeline and
drag it to the target lifeline where you want to delete the interaction
instance. A destroy message appears with a stop node (X) on the
destroy message where the lifeline terminates.
- In the name field, type a name and press Enter.