Activity (beta) - If & Else If diamonds

+1 vote
asked Mar 20, 2019 in Wanted features by zimchaa (1,020 points)

I think it would be nice to have additional diamonds at the bottom of the else if style approach to conditional flows:


@startuml start  if () then ([test = 1])  :test is 1;  else ([test = 2])  :test is 2;  endif  if () then ([test = 3])  :test is 3;  else if () then ([test = 4])  :test is 4;  else  :test is not 3-4;  endif  stop @enduml

(click through to see the code)

The diamond that I would like to see is at the bottom just above the stop step - I think it would align more closely to the standard. I am aware that it is possible to use nested If statements that can recreate the diagram but the layout is not as elegant.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.