Sequence & Collaboration

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 6

Sequence Diagram

&
Collaboration Diagram
Sequence Diagram
• A sequence diagram shows object interactions
arranged in time sequence.
• It depicts the objects and classes involved in
the scenario and the sequence of messages
exchanged between the objects needed to
carry out the functionality of the scenario.
Sequence Diagram Example
Collaboration Diagram
• A collaboration diagram, also called a
communication diagram or
interaction diagram, is an illustration of the
relationships and interactions among software
objects in the Unified Modeling Language
(UML). ... Objects are shown as rectangles
with naming labels inside.
Collaboration Diagram Example
Difference between Sequence &
Collaboration Diagram
• The difference between sequence diagrams
and collaboration diagrams.
•  Sequence diagrams shows object interaction
in timely manner(so no need of numbering
the messages).
• But collaboration diagram doesn't show
object interaction in timely manner. (need to
numbering the messages).

You might also like