Sequence and communication diagrams in UML

Asked By 10 points N/A Posted on -
qa-featured

I am learner in UML, and I have a doubt in two of their models. The doubt is about sequence diagrams and communication diagrams, I want to know is there any difference between them, I felt some, but need someone to confirm that. Thanks for your time.

SHARE
Best Answer by Knight Frakes
Best Answer
Best Answer
Answered By 0 points N/A #183776

Sequence and communication diagrams in UML

qa-featured

Greetings,

Sequence diagram and communication diagram are different kinds of interaction diagram, along with interaction overview and timing diagram. They differ in the way they present information. Sequence diagrams put emphasis on the order in which processes take place and in what order. On the other hand, Communication diagrams show the interactions between elements or objects in terms of sequence in messaging. One may be better than the other, depending on how you wish to present information. A sequence diagram makes following of interactions easier because they are arranged from top to bottom. Drawback is, the diagram can be pretty hard to read when there's too many object interacting. While in communication diagram, the message sequence can be hard to understand, but even if there's too many objects, understanding the information presented can be easier than the sequence diagram.

Sequence diagram

Communication diagram

Answered By 0 points N/A #183778

Sequence and communication diagrams in UML

qa-featured

Dear Lance Sok,

Sequence Diagram focus on order but not focus on how to communicate object each other, So overall scenario of the solution can not be identified.

Communication Diagram focuses on interaction of object not sequence of objects, so overall scenario is clear in big picture, but order of task has not defined.

 

Hope you will have clear idea now.

 

Login/Register to Answer

Related Questions