Long png images are cut off

+1 vote
asked Feb 16 in Bug by anonymous
retagged Feb 17

In the documentation there is an example “Java Language Specification”.

The “Classes” diagram is not displayed completely.
The image is cropped on the “MethodModifier” rule.

But the svg looks drawn completely.

1 Answer

0 votes
answered Feb 17 by Serge Wenger Work (16,630 points)

You can read in FAQ the chapter I want to generate huge diagrams!

commented Feb 17 by anonymous

Thanx for the reply!  
I understand that this is managed with an environment variable PLANTUML_LIMIT_SIZE .
But is it possible to do it in the editor?

commented Feb 17 by plantuml (297,300 points)

Unfortunately, that’s not possible.

The goal is to prevent the creation of large diagrams in the online editor in order to conserve resources and bandwidth.

Thank you for your understanding and sorry about that!

commented Feb 17 by The-Lu (85,820 points)
Hi PlantUML team,

In this case, maybe at least a warning: saying that the PNG is cropped and that it is preferable in this case to extend the PLANTUML_LIMIT_SIZE parameter or to export in SVG.

Regards,
Th.
...