Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Maggie on July 07, 2014, 07:44:51 pm

Title: Sequence Diagrams
Post by: Maggie on July 07, 2014, 07:44:51 pm
Hi
How do I show recursion on my sequence diagram

Thanks

Maggie
Title: Re: Sequence Diagrams
Post by: Tehila1 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.
Title: Re: Sequence Diagrams
Post by: Maggie on July 07, 2014, 08:28:06 pm
That gives me a self message but I want to show that it is recursive
Title: Re: Sequence Diagrams
Post by: robinch 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.