closed Different colors on 'if' and elseif

0 votes
asked Sep 9, 2016 in Bug by anonymous
closed Sep 12, 2016

Considering these two examples:

start
#green:if(foo)
:...;
#red:elseif(bar)
:...;
else
:..;
endif
stop

start
if(foo)
:...;
#red:elseif(bar)
:...;
else
:..;
endif
stop

I expected both 'bar' nodes to be red, not green/sandy.

Is there an other syntax to change the 'elseif' node's color ?

closed with the note: New beta works great, ty !

1 Answer

+1 vote
answered Sep 9, 2016 by plantuml (294,960 points)
It's a bug of the current release.
Many thanks for the report!

Last beta should work fine:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
commented Mar 15, 2019 by RedX2501 (220 points)
This does not seem to be documented on the page about the diagrams.

It would be nice if it were documented. I was actually looking for this and did not intuitively figure out the right syntax.
...