0% found this document useful (0 votes)
24 views

What Is A UML Sequence Diagram

A UML sequence diagram describes the interactions between classes through an exchange of messages over time. It shows class roles as objects, activation boxes to represent tasks, asynchronous and synchronous messages between objects, lifelines to indicate an object's presence, and ways to depict loops and destroying objects such as with a "<< destroy >>" arrow.

Uploaded by

Pratik Gandhi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

What Is A UML Sequence Diagram

A UML sequence diagram describes the interactions between classes through an exchange of messages over time. It shows class roles as objects, activation boxes to represent tasks, asynchronous and synchronous messages between objects, lifelines to indicate an object's presence, and ways to depict loops and destroying objects such as with a "<< destroy >>" arrow.

Uploaded by

Pratik Gandhi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

What is a UML Sequence Diagram?

Sequence diagrams describe interactions among classes in terms of an exchange of messages over time.

Basic Sequence Diagram Symbols and Notations

Class roles
Class roles describe the way an object will behave in context. Use the UML object symbol to illustrate class roles, but don't list object attributes. Learn how to edit text on a symbol.

Activation
Activation boxes represent the time an object needs to complete a task.

Messages
Messages are arrows that represent communication between objects. Use half-arrowed lines to represent asynchronous messages. Asynchronous messages are sent from an object that will not wait for a response from the receiver before continuing its tasks. Learn how to draw messages.

Various message types for Sequence and Collaboration diagrams

Lifelines
Lifelines are vertical dashed lines that indicate the object's presence over time. Learn how to attach activation boxes to lifelines.

Destroying Objects
Objects can be terminated early using an arrow labeled "<< destroy >>" that points to an X.

Loops
A repetition or loop within a sequence diagram is depicted as a rectangle. Place the condition for exiting the loop at the bottom left corner in square brackets [ ]. Learn how to arrange objects on a page.

You might also like