nidi3 / graphviz-java

Use graphviz with pure java
Apache License 2.0
934 stars 106 forks source link

Pass additional command line options #179

Closed arminkz closed 3 years ago

arminkz commented 4 years ago

is it possible to pass command line arguments like -n to the underlying dot command?

I want to manually position nodes using "pos" attribute but it requires -n argument which sets no-op flag in neato. If set, neato assumes nodes have already been positioned and all nodes have a pos attribute giving the positions.

I checked the source code and found out that this is currently not possible. this option would be very useful

thanks