Color change of single states

0 votes
asked Jul 29, 2013 in To be sorted by anonymous
edited Jul 29, 2013

I have a small problem ... I would like to change the color of some single states in a state chart. I kno wabout the possibility to write state name #col, but I have the a renamed state: state name as "longer name definition". When I append the #color directive, I get no syntax error - but the color in my diagram did not change.

Is there a possibiliy to do this?

Thanks much in advance - and sorry for my english ... as you can imagine I'm not a native speaker :)

Best regards


2 Answers

0 votes
answered Jul 29, 2013 by plantuml (295,000 points)


Thanks for the report : there is a typo in the code, this will be patched soon (probably today or tomorrow).

The following syntax will be working :

state foo #red
state name as "longer name definition" #blue



0 votes
answered Jul 30, 2013 by plantuml (295,000 points)
This is fixed in V7974.