note inside of object {} or class {}

0 votes
asked Mar 20 in Bug by boshka (2,770 points)

With the notation shown below, shouldn't the notes be displayed correctly (that is, outside the object and class)?

@startuml

class a0 {

-string data

#void testMethod()

note top of a0: this note should be on top, not inside

}

object a {

-string data

#void testMethod()

note top of a: this note should be on top, not inside

}

a0-|>a:generalizes

@enduml


http://www.plantuml.com/plantuml/uml/ZSyzhi8m3C3nsJc59HQGgDIv0-e5E8HRcoPF8KQroy37tKcVs5Yw_cNx9_VcDFjopG76J6P8BJu3G6C-fp8XanD03Rkx9aONyxDuLDuVQYpgWgutr4jTxD1ZCloF5dN9Z8EWbdNYk6PCnH9BW7Ue9tNuaz6HVhnDsbOCuCjHsxnEr4rIPAQS7cAXbyBrzGy0



I know I can put note outside of {}, but the described notation should work too, I think

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...