ActivityDiagram(Beta) is cutting off on the right of my diagram

0 votes
asked Aug 24, 2016 in Bug by HappyPumler (120 points)
I've got a rather large activity diagram with a ton of conditionals, after a few branches with the activity block contents being a bit long have started to get cut off on the right (but not on the left) side of the diagram.

1 Answer

+1 vote
answered Aug 24, 2016 by plantuml (294,960 points)
Is your image width cut off at 4096 pixel ?

If it is, you can set up the parameter PLANTUML_LIMIT_SIZE  (see http://plantuml.com/faq.html )
commented Aug 24, 2016 by HappyPumler (120 points)
Now I feel a bit silly. Sorry I didn't locate that before hand. Thanks for the prompt reply!
commented Aug 25, 2016 by zanedp (100 points)
This must be a relatively new option. Some "old" sequence diagrams that used to draw fully, are now truncated with a newer version of the .jar.
commented Aug 25, 2016 by plantuml (294,960 points)
Yes, indeed. It started with version 8033 (or something...)
Tell us if you do not succeed in using this new PLANTUML_LIMIT_SIZE parameter.
commented Aug 26, 2016 by zanedp (100 points)
I also needed to call java with the -Xmx1024m option.
...