Comments (6)
I looked this one up. This is a default limitation of PlantUML and not an issue with the plugin itself. It should be possible to bypass this by setting and environment variable on your computer: https://plantuml.com/faq#ta2awl095d7kka3pk8u1
Could you try that?
from typedoc-umlclass.
Dear @krisztianb
Please share the settings I will try it. I have seen with svg, the image is not cut off.
Best Regards,
Youssef
from typedoc-umlclass.
Ok. I copied it from the page I linked, since the HTML anchor is no longer working?!
I want to generate huge diagrams!
PlantUML limits image width and height to 4096. There is a environment variable that you can set to override this limit: PLANTUML_LIMIT_SIZE. You have to define this variable before launching PlantUML, something like:
set PLANTUML_LIMIT_SIZE=8192
or
setenv PLANTUML_LIMIT_SIZE 8192
Another way is an option in the command line:
java -DPLANTUML_LIMIT_SIZE=8192 -jar /path/to/plantuml.jar ...
Note that if you generate very big diagrams, (for example, something like 20 000 x 10 000 pixels), you can have some memory issues. The solution is to add this parameter to the java vm : -Xmx1024m.
from typedoc-umlclass.
This should be resolved.
from typedoc-umlclass.
Dear @krisztianb
The issue stills with png format.
Best Regards,
Youssef
from typedoc-umlclass.
Dear @yboujraf as you can see a few comments above this is not an issue with the plugin itself, but a default limitation in PlantUML. You should be able to resolve this by setting an environment varialbe on the computer.
By the way I'm thinking about dropping PNG support alltogehter. Because I don't see any benefits in having a pixel graphic format used for diagrams. The filesize is not smaller, you have this PlantUML limitation and it gets pixelated when resizing.
What do you thinking? Do you really need PNG graphics or can you use the SVG ones too?
from typedoc-umlclass.
Related Issues (20)
- Typedoc-plugin-pages supports HOT 4
- Interfaces and base classes are missing in the class diagram HOT 6
- Typedoc keeps hanging and generates a lot of logs HOT 4
- Support generics/template classes HOT 1
- When diagram generation fails typedoc hangs HOT 2
- Failure to load module with error for umlClassDiagramBoxBorderWidth value HOT 8
- Sort class members by visibility HOT 1
- Maximum call stack size exceeded HOT 6
- markdown table not rendered correctly HOT 1
- Add support for PlantUML picoweb HOT 1
- Move options into object HOT 1
- Automatically determine number of CPUs HOT 1
- TypeDoc 0.24.x support HOT 2
- TypeDoc 0.25.x support HOT 6
- Format functions in diagrams HOT 2
- UML CODE HOT 7
- Wrong return value of methods HOT 8
- Legend definition if using icon instead of text HOT 7
- Extend option umlClassDiagramLocation to embed images in the HTML HOT 3
- Class Name instead of umlClassDiagram-xxx.png or .svg HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typedoc-umlclass.