A package with nothing but a legend comes up empty. It is rendered, but only the frame of the package. If I add an entity then of course it looks as it should. My use case is to document parts of my diagram using package "boxes" with a legend inside them. It would be nice if the legend would show up in an example such as this:
@startuml
legend top
L
end legend
entity E {
ee
}
package P {
legend
P legend
end legend
}
package Q {
legend
Q legend
end legend
entity Qq {
qq
}
}
@enduml
Link: http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuUBAIKrFpKjHACaluFBX0h4W0bn0TabcIQM2gq8rbuA2GcegLoqNLq5YSdPYUgf204GGgXRC343c8Cn1rXM8gIiGGnU22tL0O2586nWK5e8PjI137O3AW1u00000