Multiple stereotypes on one component?

0 votes
asked Mar 5, 2016 in Wanted features by Mika (160 points)

Are multiple stereotypes on one component (or other entity) supported? What is the right way to apply them?

Here's an example that demonstrates issues with guillemets in the middle and applying skinparams based on the 2nd stereotype:

component comp1 <<white>>
component comp2 <<white>><<red>>
component comp3 <<red>><<white>>
component comp4 <<noskinparam>><<red>>

skinparam component {
  backgroundColor<<white>> White
  backgroundColor<<red>> Red
}
 
Result:
 
 
Thanks!

1 Answer

0 votes
answered Mar 6, 2016 by plantuml (294,960 points)
selected Mar 6, 2016 by Mika
 
Best answer

Thanks for the report.

This has been partially solved in last release V8037.

See example:

@startuml
component comp1 <<white>>
component comp2 <<white>><<blue>>
component comp3 <<blue>><<white>>
component comp4 <<noskinparam>><<blue>>
skinparam component {
  backgroundColor<<white>> White
  borderColor<<blue>> Blue
}
@enduml

 

commented Mar 6, 2016 by Mika (160 points)
Thanks! That was fast! :)
commented Sep 28, 2017 by plantuml (294,960 points)
Thanks for the feedback.
It should be fixed in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Regards,
...