Book a Demo

Author Topic: Iteration on Sequence Diagrams  (Read 7048 times)

Matt

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • Solutions Reality
Iteration on Sequence Diagrams
« on: January 29, 2002, 03:29:41 am »
Hi,
I am trying to model a sequence that iterates through a collection.  Unfortunately I can't find any way of showing an iteration taking place without fudging it on the conditions.  Am I missing something or is there no way to show this in EA?

Thanks for the help,

Matt

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Iteration on Sequence Diagrams
« Reply #1 on: February 02, 2002, 04:08:02 am »
Hi Matt,

I think the simplest method is to use a Boundary element (from the general toolbar with Note and Text on it) ... place around the messages within the loop. You can label with a statment like "[while !=NULL]"

Looking at this I think it would be good to be able to subtype a boundary as an iteration block - would make labelling and handling easier.

Hope this helps,
Geoff Sparks