Stereotyping does not work for composite states

0 votes
asked Apr 13, 2015 in Bug by anonymous
Hey guys!

It seems that stereotyping for skinparams does not work for composite states in state diagrams.


4 Answers

0 votes
answered Apr 14, 2015 by plantuml (295,000 points)

Thanks for the report.

Could you post a short and simple example that shows the bug ?

This will help!

Thanks again,
0 votes
answered Apr 15, 2015 by anonymous

Hello guys,

sure. Just consider the following example:

skinparam state {
BorderColor<<comp>> Black
BackgroundColor<<comp>> Blue
BorderColor<<simple>> Black
BackgroundColor<<simple>> Green
c<<simple>> --> d<<simple>> : event
state "a_1" as a<<comp>>{
x<<simple>> --> y<<simple>> : ev
state "a_2" as b<<comp>> {
w<<simple>> --> z<<simple>> : ev2
a --> b : ev3
To be more precise, it seems that the skinparam "BorderColor" is ignored for stereotyped composite states. Despite defining it as Black for composite states <<comp>>, it is always drawn as a thin red line. If "BorderColor" is defined globally (without stereotype), composite states are drawn correct. Other skinparams seem to work fine even for stereotyped composite states.
Thanks in advance for your feedback!
0 votes
answered Apr 18, 2015 by plantuml (295,000 points)
Thanks for the feedback!

This has been solved in last beta

This will be included in next official release.

0 votes
answered Apr 20, 2015 by plantuml (295,000 points)
This has been fixed in V8023.

Thanks again!