Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between collaboration diagram and communication diagram in UML?

What is the difference between collaboration diagram and communication diagram in UML? Are they the same diagram?

like image 266
masoud ramezani Avatar asked Feb 24 '10 07:02

masoud ramezani


People also ask

What is the difference between collaboration diagram and sequence diagram?

The sequence diagram are used to represent the sequence of messages that are flowing from one object to another. The collaboration diagram are used to represent the structural organization of the system and the messages that are sent and received.

What is the difference between communication diagram and sequence diagram?

A communication diagram offers the same information as a sequence diagram, but while a sequence diagram emphasizes the time and order of events, a communication diagram emphasizes the messages exchanged between objects in an application. Sequence diagrams can fall short of offering the "big picture.”

What is a communication diagram in UML?

In UML, a communication diagram shows the interactions between the objects or roles associated with lifelines and the messages that pass between lifelines. In earlier versions of UML, this diagram was called a collaboration diagram and had a different notation.

What are the different elements of collaboration diagram in UML?

This Collaboration diagram has three elements, Object: The interaction between objects takes put in a system. Relation/Association: Association among objects is connected by connecting them. Messages: An arrow that commencing from one object to the destination object.


2 Answers

They are the same. This is just a name change. Collaboration diagrams was the name given to communication diagrams in previous versions of the UML standard

like image 156
Jordi Cabot Avatar answered Oct 17 '22 00:10

Jordi Cabot


From what I understand collaboration is what needs what to work. And communication is what objects will be messaging other objects. They probably in most cases end up being quite similar because in order to collaborate they need to communicate. So the two would mostly be the same but different here and there.

like image 31
uriDium Avatar answered Oct 16 '22 23:10

uriDium