Break in while loop renders incorrectly

0 votes
asked Feb 26, 2018 in Closed feature request by nulldev (120 points)
There is an issue where break statements inside while loops do not render correctly. In the following example, I expect "TestNode" to be linked to "Clean up" but instead it seems to just be detached.

P.S. Thanks for writing this amazing program! The diagrams it makes are much more beautiful and well organized compared to other generators!

1 Answer

+1 vote
answered Feb 27, 2018 by plantuml (295,000 points)
selected Feb 27, 2018 by nulldev
Best answer
Thanks for your report.

The fact is that this "break" feature is still beta and was only implemented for "repeat" loop (and not "while" loop).

Anyway, adding this feature to while loop was not so hard, so we did it in last beta

We've upgraded the online server so your example is working now (use ctrl-F5 to force cache reload)

However, do not expect too much on this feature. It will work on simple case, but will fail on complex ones.

So we are interested in feedback!
commented Feb 27, 2018 by nulldev (120 points)
That's perfect, thanks for your help! I'll notify you if I find any other bugs.