Book a Demo

Author Topic: Sequence Diagrams  (Read 4416 times)

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Sequence Diagrams
« on: July 07, 2014, 07:44:51 pm »
Hi
How do I show recursion on my sequence diagram

Thanks

Maggie

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Re: Sequence Diagrams
« Reply #1 on: July 07, 2014, 07:57:08 pm »
You left-click on the tiny arrow besides the class element on the diagram, and drag the relation back to this class.

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: Sequence Diagrams
« Reply #2 on: July 07, 2014, 08:28:06 pm »
That gives me a self message but I want to show that it is recursive

robinch

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Sequence Diagrams
« Reply #3 on: July 07, 2014, 09:01:42 pm »
Recursion is shown by the combination of stacked lifeline activation levels and repeated message name(s). You can also embed the recursive call(s) in "opt" or "alt" fragments to specify the recursion invariant.
« Last Edit: July 07, 2014, 09:02:24 pm by rfarine »