Re: Collabaration and Sequence diagram
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.