Package with only legend shows up empty

0 votes
asked Aug 25 in Bug by dlidstrom (240 points)

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

1 Answer

0 votes
answered Aug 26 by plantuml (230,800 points)
Thanks for the feedback!

It should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you!
...