Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Repeat followed by detach on plantUML.8036

0 votes

As shown on this diagram:

@startuml
start
:Bind;
fork
  repeat
    :Listen admin<
    :Execute;
    :Reply admin>
  repeat while (shutdown>) is (no)
fork again
  repeat
    :Listen user<;
    :Reply user>
  repeat while (forever)
  detach
endfork
:Release;
@enduml

broken loop

The repeat loop for forever is broken, I would expect that loop to look like this one:

@startuml
:previous
 action}
  repeat
    :Listen user<;
    :Reply user>
  repeat while (forever)
@enduml

 

expected

A similar problem happens on while loops

Besides these problems, great work!

Thank you!

asked Mar 4, 2016 in bug by anonymous
edited Mar 4, 2016

1 Answer

0 votes
Thanks for the report!

This has been fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Few tests done, so please post again if it's not working for you.

Regards,
answered Mar 4, 2016 by plantuml (125,210 points)
Thank you! Now I can properly represent an infinite repeat loop!
detach after a while loop in PlantUML 8036
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...