Might it make sense to add another loop-type to the new activity diagram grammar?

+1 vote
asked Aug 31, 2015 in Wanted features by yaccob (120 points)

Hi,

In activity diagrams I frequently need flows like this:

Desired diagram

None of the currently documented plantUml loops (repeat, while) support this. As one possible workaround I implent the same logic like below, needing to unnecessarily repeat at least one activity:

current implementation

I suppose that the semantics of repeat or while cannot be changed, because it would break existing diagram specifications. What about adding a new loop type like that (wording can be improved):

start
loop

    :try something;
loop if (done?) is (false)
    :wait;
endloop
stop

This would make some diagrams more compact and improve readability by avoiding repetition of identical activities.

What do you think?

Best regards,
Jakob

 

 

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