Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

note goes out the partition

0 votes
If you have an empty partition with a note, the note is rendered outside the partition instead rendering inside the partition:
 
@startuml
start
partition "Correct" {
:a;
note right
Note is inside the partition
end note
}
partition "Wrong" {
 
note right
Note is outside the partition
end note
}
 
stop
@enduml
 
In some earlier versions the note was inside the partition in both cases
 
asked May 2 in bug by boshka (1,150 points)

1 Answer

0 votes
Thanks for the report, and for the detailed example.

It should be fixed in last beta

https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

Tell us if it's not working for you!

Regards,
answered May 3 by plantuml (126,850 points)
Thanks a lot! this works!
A bit of enhancement please (see the code):

@startuml
    start
    partition "Empty partition" {
        note: Can the partition be centered\nand the note be over the activity arrow?
    }
    stop
@enduml
You're looking for something like this ?

@startuml
start
partition "Empty partition" {
#FBFB77:Can the partition be centered\nand the note be over the activity arrow]
}
stop
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pk0g0H6P9PdwUWf9hRa59fG9SG4cXcalPpSdDoTpSoZanJw4a8nKXgP2Kgf2ScbUIMfIQ4fENc9S2bixBBqa5oUINfHQ11HAJIpBBCe6c9XOLvPV7SjK2RSqlu798pKi1EG40
not quite. I want it to still be a note (not activity box). I don't want an arrow coming to the note as in your example, but rather be a line behind the note. The way it was in plantuml.8048.jar (there it was almost good except for that the line was rendered over the note's text), but this behavior has changed in 8051

may be a notation like:

note over
     note text
end note

or

note
     note text
end note

or

note: note text

that would mean that I want a note right over the activity line
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...