• 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

Linking sequence diagram,

 
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
Is is fine to link a sequence diagram to another by attaching a note- "The flow continues in another sequence diagram"
Thanks
 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pradeep,
I don't think so, cause the sequence diagrams don't have to represent the entire system flow. Think about this kind of diagram like pictures from the parts of the project, and you gotta to abstract a lot!
Best regards,
 
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 Pradeep Bhat:
Is is fine to link a sequence diagram to another by attaching a note- "The flow continues in another sequence diagram"


Why do you feel the need to do so? What harm could be done if you did so? What would be the alternative?
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I probably wouldn't put steps 1-10 in one diagram and 11-20 in another. I'd try to have one diagram that shows some chunk of action from beginning to end.
I have certainly had a message into an object in one diagram that made that object do something complex enough to deserve another diagram of its own.
Maybe the two diagrams you are thinking about linking are just the details of a higher level process?

Maybe doFirstStep and doSecondStep are both complex enough to have their own diagrams. But they probably shouldn't have to reference each other. If they do, you might have some unhealthy dependencies.
Zat make any sense?
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rule of a thumb:
Your diagram should fit in A4 size paper with max landscape orientation.
yup
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well said, Stan!
 
Stan James
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A4 Paper! My favorite thing about the Internet is that now users think vertical scrolling is ok and my diagrams can go forever! Bwaaahhh hah hah!
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to use a collaboration diagram if the sequence diagram is taking too much horizontal space.
 
Ilja Preuss
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 Tauqueer Ali:
You might want to use a collaboration diagram if the sequence diagram is taking too much horizontal space.


I don't think that the used space should be the deciding factor. You should decide based on wether you want to show the structure of the collaboration or the chronology.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic