Loop in Activity Diagram

0 votes
asked Jan 11 in Question / help by MineralUML (280 points)

Without using the `repeat` syntax, I would like to connect `Next Color` in this example as the same node, much like how the non-beta / old activity diagram worked. How is this possible?

@startuml
:Next Color;
if (color?) is (<color:red>red) then
:print red;
else
:print not red;
endif;
:Next Color;
@enduml

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.
...