Book a Demo

Author Topic: Sequence Diagram- branch with previous message  (Read 6471 times)

unnamedharald

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Sequence Diagram- branch with previous message
« on: January 21, 2003, 07:28:52 am »
I finally discovered "branch with previous message" which helps showing conditions more clearly but I wish you could nest them (since many times conditions are nested).  I also wish there was a way to include self-messages in "branch with previous".  Does anyone have any ideas on how to handle nested conditionals in Sequence Diagrams?

I'd like to use sequence diagrams to show as little or as much logic as I think necessary but the restriction of one level of nesting stymies that (is this an EA restriction or a UML restriction?).  If anyone has ideas I'd appreciate hearing them though I expect I'm "abusing" sequence diagramming by trying to use it to document in detail what's really going on (a couple methods are real stinkers and need this level of detail documented).  

I can always sprinkle notes around and refer to source code but that hardly seems like a good design/document methodology.  This will probably start some UML flaming and reverential references to the three amigos but I just have to say that there is no reason Sequence Diagrams couldn't be used to describe more conditional activity (IF DESIRED) without detracting from their current capabilities.

And, BTW, I love Enterprise Architect.

Dave Hunt

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Sequence Diagram- branch with previous message
« Reply #1 on: January 22, 2003, 04:19:53 pm »
Hi Dave,

Here's a link to a thread where a plausible solution (proposed by Geoff) was discussed:

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general&action=display&num=1026957833

Please keep us posted ff embedding your IFs within iteration symbols does not work for you.

Jaime Gonzalez

unnamedharald

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Sequence Diagram- branch with previous message
« Reply #2 on: January 24, 2003, 04:58:25 am »
Sometimes you just have to step back from something.  Thanks a lot for the suggestion.

Dave Hunt