-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting PLANTUML_LIMIT_SIZE from outside #12
Comments
@pepijnve Do you have an idea how to set this? |
I wasn't aware this limit existed I'm afraid. I would have to read through the PlantUML source code as well to find this out. Maybe an environment variable? |
Hi @pepijnve Thanks for your reply. Normally, it is set over an environment variable and described in FAQ:
However, it did not have any in this case :( |
When asciidoctor-diagram is used in combination with JRuby, PlantUML runs in-process. It would expect it to pick up that system variable as well. Perhaps the read of that variable happens in a bit of code that's being bypassed by the diagram glue code. I'm not using the regular CLI entry point. I'll check in the source code. |
The read happens here https://github.com/plantuml/plantuml/blob/0575e7cf08d4508639a214f97abcac258558dee9/src/net/sourceforge/plantuml/cucadiagram/dot/GraphvizUtils.java#L150 |
The next diagram release will let you pass a |
is it possible to specify the size from the online editor? it's not enought for me |
Hi,
Thank you for the contribution.
I rely on https://github.com/confluence-publisher/confluence-publisher to publish the documents. This again uses the version 2.0.2 of this library. It is executed over maven.
Due to having large diagrams, I need to set PLANTUML_LIMIT_SIZE=8192. I tried to set it over the environment variables and as well over mvn install -DPLANTUML_LIMIT_SIZE=8192. Unfortunately, neither of them has helped so far.
Is there a way to set it from outside?
The text was updated successfully, but these errors were encountered: