walmartlabs / vizdeps

Visualize Leiningen dependencies using Graphviz
Apache License 2.0
131 stars 13 forks source link

Add documentation about installing Graphviz #5

Closed brunchboy closed 7 years ago

brunchboy commented 7 years ago

This looks awesome, but when I updated my profiles.clj and tried it out, it ended up in an exception:

lein vizdeps                               22:36:04
java.io.IOException: Cannot run program "dot": error=2, No such file or directory
 at java.lang.ProcessBuilder.start (ProcessBuilder.java:1048)
    dorothy.core$render.invokeStatic (core.clj:626)
    dorothy.core$render.invoke (core.clj:597)
    dorothy.core$save_BANG_.invokeStatic (core.clj:651)
    dorothy.core$save_BANG_.doInvoke (core.clj:633)
    clojure.lang.RestFn.invoke (RestFn.java:442)
    leiningen.vizdeps$vizdeps.invokeStatic (vizdeps.clj:233)
…
brunchboy commented 7 years ago

Digging a little deeper, it turns out that I just needed to run brew install graphviz in order to make this work. Perhaps that can be made a bit more explicit in the README (and instructions for other platforms added)?