Style for note on Component and Deployement diagram, Class,...

0 votes
asked Jun 3 in Wanted features by The-Lu (4,900 points)

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.

related to an answer for: note assigne different styles

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.
...