• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sequence/Collaboration Diagram

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi to all the uml geeks!!!
when do go for sequence diagram and when for collaboration diagram.
Rgds
Rishi
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I always do sequence. I like the structure. People say you get better information density on collaboration diagrams.
 
Rishi Singh
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rufus,
I guess it is the call we need to make between time-order and overall structure..but how do we decide.
Rgds
Rishi
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rishi Singh:
I guess it is the call we need to make between time-order and overall structure..but how do we decide.


Well, you need to decide which aspect is more important to you for the diagram, depending on what you are drawing it for.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's an art. Both drawings convey much the same information. One has to look at the goal of the drawing and decide which type more clearly delivers your message. Collaboration diagrams might work better on a white board than sequence diagrams.
 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sequence diagrams are ordered by time. They are useful if someone wants to review the flow of logic through a scenario. Although Collaboration diagrams include sequencing information, it is easier to see on a Sequence
diagram.
Collaboration diagrams are useful if you want to assess the impact of a change. It's very easy to see on a Collaboration diagram which objects communicate with which other objects. If you need to change an object,
you can easily see which other objects might be affected.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In most of the cases sequence diagram suffice. Very rarely have I used Colloboration diagram.
 
Author
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rishi Singh:
hi to all the uml geeks!!!
when do go for sequence diagram and when for collaboration diagram.
Rgds
Rishi


Sequence diagrams show sequence. Collaboration diagrams show structure. Sometimes you want to show one more than the other.
I'm usually much more concerned with structure than with sequence, so I find I draw more collaboration diagrams than sequence diagrams.
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One should remember that in tools like Rational Rose; given a sequence diagram ,the tool can generate equivilant collaboration diagram and vice versa.
Draw which ever you feel comfortable with and let the tool generate the other diagram for you.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just pressing F5 will do.

Originally posted by Murthy Narasimha:
One should remember that in tools like Rational Rose; given a sequence diagram ,the tool can generate equivilant collaboration diagram and vice versa.
Draw which ever you feel comfortable with and let the tool generate the other diagram for you.

 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, that's an interesting feature, anyone know how to do it with MagicDraw?
 
reply
    Bookmark Topic Watch Topic
  • New Topic