nidi3 / graphviz-java

Use graphviz with pure java
Apache License 2.0
937 stars 107 forks source link

Cannot find Graphviz installed by conda on Windows #154

Closed fabiencelier closed 4 years ago

fabiencelier commented 4 years ago

I am trying your lib with graphviz installed via conda: conda install graphviz

It works on Linux and MacOs but not Windows because GraphvizCmdLineEngine cannot find the dot executable. On my tests graphviz work in cmd with just dot because conda put a dot.bat file somewhere in the path that redirect to ./graphviz/dot.exe

I think it is ignored by CommandRunner.which

nidi3 commented 4 years ago

Should be fixed in the next version (hopefully available today)

fabiencelier commented 4 years ago

Ok I will try that once it's avaialble and give you some feedback. Thanks for the quick reponse

fabiencelier commented 4 years ago

Also, if I know where is the dot executable, is there a way to provide this path to the GraphvizCmdLineEngine ?

nidi3 commented 4 years ago

That's a good point, I think I'll add that possibility.

nidi3 commented 4 years ago

version 0.16.0 is here.

fabiencelier commented 4 years ago

It now works with graphviz installed via conda on windows, thank you !