Activity-beta Diagram : Label when exit Repeat-Loop

0 votes
asked Feb 9, 2015 in To be sorted by MAV (460 points)

Hello guys,

Is it possible to put a label at the exit of the repeat-loop? or put text on the arrow just after the loop?

@startuml
start
repeat
:Hello guys;
repeat while() is (repeat)
/'I would like to write on this arrow'/
stop
@enduml

I know it is possible to do it using the while-loop, but in my case the repeat-loop would be easier to read.

Thank you !

Mathieu

1 Answer

0 votes
answered Feb 9, 2015 by plantuml (295,000 points)

This is not very documented, but you can have:

start
repeat
:Hello guys;
repeat while() is (repeat)
->I would like to write on this arrow;
stop

commented Feb 9, 2015 by MAV (460 points)
Thank you !
Mathieu
...