In sequence diagrams, you can add a create message or
a destroy message to a lifeline to represent the creation or the destruction
of a participant. You add the create message above any messages
and interaction fragments that are covered by the lifeline; you
add the destroy message below the messages and interaction fragments.
To add a create or a destroy message:
- Open a sequence diagram that contains at least
two lifelines.
- In the Palette, click Create
Message or Destroy Message.
- In the interaction frame, complete one of the following
steps:
- To add a create message, click the source lifeline
from which the message originates and drag to the target lifeline
where you want to create the new participant. The head of the participant
aligns with the termination point (message arrowhead) of the message.
- To add a destroy message, click the source lifeline and
drag to the target lifeline where you want to delete the participant.