jGuru Forums

Collabaration and Sequence diagram
1 posts in topic
Flat View
TOPIC ACTIONS:

Posted By:   dcvasu_reddy
Posted On:   Tuesday, December 4, 2001 12:04 AM

Hi All,

Can any one help me

what are the diff betw collabaration and sequence diagram.

Re: Collabaration and Sequence diagram

Posted By:   Bozidar_Dangubic
Posted On:   Tuesday, December 4, 2001 07:02 AM

sequence diagram is time-of-events oriented while collaboration diagram is structure-oriented. on sequence diagram, you can clearly see when certain operation happen over time since there is defined timeline in the diagram. but you do not see the relationship between classes on the diagram (i.e. you can see that one class invokes a method on another class but you do not see what is the relationship between them, i.e. if there is a composite aggregation, or some simple association or anything like that). on the collaboration diagram, sequence of events is more difficult to follow but the structure is clearly defined, i.e. relationships between participants are visible. these two diagrams are interchangeable. given a collaboration diagram, you can always create sequence diagram and vice versa.