Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Maggie on July 07, 2014, 07:44:51 pm
-
Hi
How do I show recursion on my sequence diagram
Thanks
Maggie
-
You left-click on the tiny arrow besides the class element on the diagram, and drag the relation back to this class.
-
That gives me a self message but I want to show that it is recursive
-
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.