Why is my styling of a node stereotype element overwritten when containing components?

0 votes
asked Oct 21 in Question / help by Ragnar
edited Oct 22

I want to style the stereotypeFontColor and stereotypeFontStyle for a node element in my UML diagram.
All worked as expected, but as soon as i added a component into my node the styling of the stereotype seems not to work any longer.
Is this a bug or am i doing something wrong?

Works as expected:

@startuml

skinparam node {

    fontColor green
    fontStyle normal
    stereotypeFontColor green
    stereotypeFontStyle bold
}

node "test node" <<device>> {
}

@enduml

Seems wrong:

@startuml

skinparam node {

    fontColor green
    fontStyle normal
    stereotypeFontColor green
    stereotypeFontStyle bold
}

node "test node" <<device>> {

   [test]
}

@enduml

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...