Hello Plantuml team,
After some test on style for note:
That is OK for Sequence diagram, see:
[Click to see code on PlantUML server]
But for Class diagram or Component and Deployement that is KO (on version 2020.11):
Here are the code:
@startuml
skinparam useBetaStyle true
<style>
note {
FontSize 10
BackGroundColor #fff
.green {
BackgroundColor green
}
}
</style>
class Foo
note<<green>> left: On last defined class
@enduml
→ Link
And:
@startuml
'skinparam useBetaStyle true
<style>
note {
FontSize 10
BackGroundColor #fff
.green {
BackgroundColor green
}
}
</style>
node n
file f
note<<green>> left of n: note that is green
@enduml
→ Link
Perhaps style is not yet implement on Class and Deployement ?
We made no test on Activity or State diagram.
Thanks for your analyse,
Regards,
Th.