Topic
2 replies Latest Post - ‏2004-12-13T10:52:22Z by SystemAdmin
SystemAdmin
SystemAdmin
1130 Posts
ACCEPTED ANSWER

Pinned topic Difference between collaboration and Sequence Diagram

‏2004-09-23T10:32:44Z |
Can u please enlighten me on the following?

1)Difference between sequence and collaboration diagrams?

2)Can collaboration diagrams span Use Cases ( i.e. can u draw a single collaboration diagram for more than one use Case ) or there exists a one to one mapping between use cases and collaboration diagrams

3)What are specific uses of using collaboration diagram?
Updated on 2004-12-13T10:52:22Z at 2004-12-13T10:52:22Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1130 Posts
    ACCEPTED ANSWER

    RE: [uml] Difference between collaboration and Sequence Diagram

    ‏2004-09-24T22:05:29Z  in response to SystemAdmin
    For question 2:
    Yes. Remember that the UML is a notation for communicating ideas
    visually. Every time you think "huh, a picture would be helpful here,"
    there is probably a UML diagram that would do a great job for you. One
    goal would be to learn all 9 (there will apparantly be more in UML 2.0)
    diagrams, and then apply them anytime you wanted to communicate
    visually.

    So if you felt it would be usefull to show a single collaboration
    diagram for more than one use case, you certainly could. The RUP,
    however, recommends that you have one interaction diagram (collaboration
    and/or sequence diagrams) per significant use case flow, not per use
    case. So typically you will have many interaction diagrams per use
    case.

    For questions 1 and 3, I have attached a word doc that captures my
    thoughts on those topics. Hope you enjoy it!

    --anthony
    > -----Original Message-----
    > From: owner-uml@lists.us.ibm.com
    > mailto:owner-uml@lists.us.ibm.com On Behalf Of svmadhu_raj
    > Sent: Thursday, September 23, 2004 3:33 AM
    > To: uml@lists.us.ibm.com
    > Subject: uml Difference between collaboration and Sequence Diagram
    >
    >
    >
    >
    > Can u please enlighten me on the following?
    >
    >
    >
    > 1)Difference between sequence and collaboration diagrams?
    >
    > 2)Can collaboration diagrams span Use Cases ( i.e. can u draw
    > a single collaboration diagram for more than one use Case )
    > or there exists a one to one mapping between use cases and
    > collaboration diagrams
    >
    > 3)What are specific uses of using collaboration diagram?
    >
    > <============================================================
    > To unsubscribe, send email to
    > majordomo@lists.us.ibm.com and put these words in the
    > message body: unsubscribe uml
    > ============================================================>
    >
    http://Collaboration Diagrams vs.zip
  • SystemAdmin
    SystemAdmin
    1130 Posts
    ACCEPTED ANSWER

    Re: Difference between collaboration and Sequence Diagram

    ‏2004-12-13T10:52:22Z  in response to SystemAdmin
    >
    >
    > Can u please enlighten me on the following?
    >
    >
    >
    > 1)Difference between sequence and collaboration
    > diagrams?

    Sequence diagrams, collaboration diagrams, or both diagrams can be used to demonstrate the interaction of objects in a use case. Sequence diagrams generally show the sequence of events that occur. Collaboration diagrams demonstrate how objects are statically connected.

    Sequence diagrams:
    Sequence diagrams demonstrate the behavior of objects in a use case by describing the objects and the messages they pass. the diagrams are read left to right and descending.

    Collaboration diagrams:
    Collaboration diagrams are also relatively easy to draw. They show the relationship between objects and the order of messages passed between them.

    >
    > 2)Can collaboration diagrams span Use Cases ( i.e.
    > can u draw a single collaboration diagram for more
    > than one use Case ) or there exists a one to one
    > mapping between use cases and collaboration diagrams
    >
    >
    > 3)What are specific uses of using collaboration
    > diagram?

    They show the relationship between objects and the order of messages passed between them.