Collaboration Diagram

 

Collaboration diagrams belong to a group of UML diagrams called Interaction Diagrams.  Collaboration diagrams, like Sequence Diagrams, show how objects interact over the course of time.  However, instead of showing the sequence of events by the layout on the diagram, collaboration diagrams show the sequence by numbering the messages on the diagram.  This makes it easier to show how the objects are linked together, but harder to see the sequence at a glance.

Instance:

An instance of a class shows a sample configuration of an object.  On the sequence diagram, each instance has a lifeline box underneath it showing it's existence over a period of time.

Tell me more about instances.

Lollipop Interface:

A lollipop interface is a shorthand syntax for a interface.  It shows the interface name without displaying the operations.

Tell me more about interfaces.

Message:

The message indicates communication between objects.  The order of messages from top to bottom on your diagram should be the order in which the messages occur.  

 

Tell me more about messages.

 

More Collaboration Diagram Concepts:

 

Related Topics: