vanniktech/gradle-dependency-graph-generator-plugin

Increase default dpi of graphviz rendering

SimonMarquis opened this issue · 4 comments

The default rendering does not feel crisp at all.
Could we bump it a little bit?
100dpi seems good enough to me.

Default 72dpi (1074x332) 100dpi (1492x461) 200dpi (2985x922)
dependency-graph dependency-graph dependency-graph

It seems the default comes from here:

https://github.com/nidi3/graphviz-java/blob/f0c1fdfa37c8b9876ef1dcccec1a6c19219e727e/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/validate/AttributeConfigs.java#L66

And here as well:
https://github.com/nidi3/graphviz-java/blob/f0c1fdfa37c8b9876ef1dcccec1a6c19219e727e/graphviz-java/src/main/java/guru/nidi/graphviz/engine/ProcessOptions.java#L25

Default dpi value seems to be 96 on the official graphviz documentation.

Yeah let's use 100. In the past if I wanted high resolution, I've used exclusively SVG

100 or the "official" default of 96? it's your call.

I like your 100