I am redrawing the following diagram
http://imgur.com/a/K3GcXEz
The while loop has one end (Reduce Inventory) and one break point (Item Found?).
How do I implement it in PlantUML?
My attempt is the following:
:hello;
while (yes)
:do a;
if (Question) then (Answer 1)
:do answer 1;
else (Answer 2)
endwhile
endif
endwhile (no)