Sequence Diagram Example: Object Creation and Deletion

Description:

Sequence diagrams, a kind of Interaction diagrams that capture the interaction between objects in the context of a collaboration. This is a sequence diagram example that shows how you can model the creation and deletion of objects. Notice the use of 'stopped' symbol in presenting a deletion of object.

Use this sequence diagram template to get started building your own. Customize the sequence diagram for your need. Click Use this Template to start.

What is Sequence Diagram?

Sequence diagrams, a kind of Interaction diagrams that capture the interaction between objects in the context of a collaboration. A sequence diagram shows the order of the interaction visually by using the vertical axis of the diagram to represent time what messages are sent and when. It is typically used to model a single scenario of a use case of a system.

Which behavior diagram should you choose?

  1. You should use sequence diagrams when you want to look at the behavior of several objects within a single use case.
  2. If you want to look at the behavior of a single object across many use cases, use a state diagram.
  3. If you want to look at behavior across many use cases or many threads, consider an activity diagram.

Keen to try VP Online?

No limitations, no obligations, no cancellation fees.


Start a Free Trial