Object svg pic Information is incomplete when plantuml file is larger than 2M

0 votes
asked Mar 17, 2015 in Bug by anonymous
When I run plantuml in linux to generate a Object svg diagram. The svg file is output successfully, but there are many objects just be converted to sequent blank object frames.  The plantuml version is 8021, and there are more than 2,000 objects and more than 30,000 lines in the plantuml file.

1 Answer

0 votes
answered Mar 17, 2015 by plantuml (294,960 points)
Hi,

Could you post or send us your example ?

Thanks,
commented Mar 25, 2015 by anonymous
I have sent an example to you by mail one week ago, because I don't know how to attach it here. Have you received it?
commented Mar 25, 2015 by plantuml (294,960 points)
Sorry for the delay.
We have receive your file.

Unfortunatly, they are too many objects in your diagrams.
PlantUML tries to generated a 375 pixels width and 449279 pixels height image, which is way too large (you can use the -v option flag in the command line)

One option could have been to use the "page" command that splits large files ( http://plantuml.sourceforge.net/classes.html#Splitting )

But this has been currently implemented for class diagram only, not object diagrams. We will add this feature to object diagrams.
You will have to add:
page 1x500
to your diagrams, and you will end up with 500 png files, which may be not what you are looking for.
...