ferstl / depgraph-maven-plugin

A Maven plugin that generates dependency graphs in various formats (DOT, GML, PlantUML, JSON and Text)
Apache License 2.0
561 stars 85 forks source link

configure a layout engine #139

Closed delanym closed 2 years ago

delanym commented 2 years ago

I know I can do it myself, but can the plugin be configured to pass through a layout engine? http://www.graphviz.org/doc/info/command.html#-K

gregorydlogan commented 2 years ago

Seconding this. I've got a rather large svg here that my browser is telling me renders by default at 17785pt x 827pt. I can fix that by adding nodesep and ranksep manually, but it'd be nice to be able to slap that into the plugin config or something.

ferstl commented 2 years ago

I'll take a look

ferstl commented 2 years ago

Version 4.0.0 will be on Maven Central soon. There, you can use a new parameter dotArguments where you can define additional options for the dot executable.

delanym commented 2 years ago

Works as advertised! Thank you so much.