How can I define note with stereotype?

0 votes
asked Apr 12 in Question / help by kirchsth (800 points)

Hi PlanttUML team,

how can I assigne a stereotype to a note with alias (and without position)?

1) combination of note/position/stereotype is working
2) note/alias is working
3) note/alias/stereotype produces invalid syntax

@startuml
skinparam shadowing<<legendnote>> false
skinparam note<<legendnote>> {
    backgroundcolor green
    bordercolor green
}

[Component 1] as C1

note bottom of C1 <<legendnote>>
Legend
text
end note

note as N1
Legend
stereotype not working
end note

N1 -L-> C1

/' How can I assign alias and stereotype
note as N2 <<legendnote>>
Legend
stereotype working
green
end note

note <<legendnote>> as N2
Legend
stereotype working
green
end note
'/

N2 -R-> C1
@enduml

BR Helmut

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