Activity Diagram Beta - Can we have labels for the while loop paths like we do in the for loop

0 votes
asked Mar 4, 2013 in Wanted features by anonymous
Proposed example syntax:


while (system validates something?)

  (invalid) :User sorts his life out;




1 Answer

0 votes
answered Mar 4, 2013 by plantuml (164,580 points)
Best answer

You can download a beta here :

That allows this:

while (check filesize ?) is (not empty)
  :read file;
endwhile (empty)

The drawing is not 100% perfect (work is in progress), and we are not fully satisfied by the syntax (which is slightly different from your suggestion).

Thanks for your ideas, and feedback still welcome!