I use multiple stereotypes and one stereotype should be displayed as stereotype and the other should change the e.g. color and not displayed. This works if I don't combine both stereotypes. If I use both together, I can only hide both or nothing. E.g. exampleBaseComponent1 should be displayed with <<base>> but not with <<example>> (already represented via color)
Thank you and best regards
Helmut
@startuml
' https://forum.plantuml.net/4282/multiple-stereotypes-on-one-component
' hide stereotype
hide <<example>> stereotype
' hide <<example>><<base>> stereotype
skinparam component {
BackgroundColor<<example>> Yellow
}
package "Something" {
[origComponent]
[baseComponent1]<<base>>
[exampleComponent1]<<example>>
[exampleBaseComponent1]<<example>><<base>>
}
origComponent <-U- baseComponent1
origComponent <-U- exampleComponent1
baseComponent1 <-U- exampleBaseComponent1
exampleComponent1 <-U- exampleBaseComponent1
@enduml