Allow stereotypes on notes in component diagram

0 votes
asked Mar 4, 2021 in Wanted features by Lukasz

It would be really useful, to allow stereotypes on notes in component diagram.

My use case is color, but I think it could be used in many other cases.

sample code;

skinparam note{
    backgroundcolor<<data>> blue

componenet test
  note<<data>> left of test
  test note
  end note

1 Answer

0 votes
answered Mar 4, 2021 by The-Lu (57,460 points)

Hello L.,

Just put the stereotype name at the end of the line, as :

  note left of test <<data>>
  test note
  end note

With that, we observe the expected result:


commented Mar 4, 2021 by Lukasz

It seams I have to upgrade my PlantUML :)

Thank you