How can I attach notes to specific namespace?

0 votes
asked Apr 9 in Question / help by foodtooth
edited Apr 10
But not to a class or a member of it. I tried to put `note left` after a namespace definition or add `note left of namespace`, none of them worked.

The example.pu:

namespace A {
namespace B {
namespace C {

note as N1
This is floating note sitting inside namespace C. A possible proper way to indicate a note specific to namespace C
end note

class MyClass

note left : A note about last defined class (MyClass)

}

' This is the note supposed to be specific to namespace C. How can I do?

note left : A note to namespace C, but will point to class MyClass instead
}
}
commented Apr 9 by albert (3,170 points)
Would be nice to have some example code that shows the problem.
commented Apr 10 by foodtooth
Thanks for pointing out. I've added the example

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