Denote Lifecycle of an Element | Enterprise Architect User Guide

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Topic
Prev Next

Denote Lifecycle of an Element

Capture element lifetimes using messages denoted as New or Delete message types

Step

Action

1

Double-click on a message within a Sequence diagram to display the 'Message Properties' dialog.

2

In the 'Lifecycle' field, click on the drop-down arrow and select 'New' or 'Delete'.

3

Click on the OK button to save the changes.

Example Diagram

This example shows two elements that have specific creation and deletion times.

Notes

  • To show the termination X on the lifeline in the example diagram, you must switch on garbage collection: Start > Workspace > Preferences > Diagram > Sequence: Garbage Collect