vscode-plantuml icon indicating copy to clipboard operation
vscode-plantuml copied to clipboard

large diagram not complete when exporting to png

Open frustin opened this issue 2 years ago • 3 comments

I'm exporting a 10x participant 2x Actor diagram to png. However the diagram does not all fit onto one png. Some of the lower part of the diagram (including the participants) is cut off. Is there a size limit that i'm not aware of perhaps?

Using "PlantUML v2.15.1" Rich PlantUML support for Visual Studio Code.

frustin avatar Sep 21 '21 16:09 frustin

There's an FAQ about this: https://plantuml.com/faq#e689668a91b8d065

If you're using the PlantUML.com server to render, I don't think you can change it. If you are using a local server, there's a setting for it in your settings.json file (but I've never actually used it):

    "plantuml.commandArgs": [ "-DPLANTUML_LIMIT_SIZE=8192" ],

fuhrmanator avatar Sep 22 '21 01:09 fuhrmanator

In my case I exported to SVG and then converted to PNG. That's how I got by around this issue. Hope it helps!

yoanisgil avatar Dec 15 '21 16:12 yoanisgil