A Clojure library that emits usage diagrams for your project.
- It will load all the source files you give it, so beware of any top-level side-effects.
- It doesn't reflect macro usage at all. Any macros in your project will appear unused, as only the expanded code is analyzed.
- It's probably not totally correct? Of course.
Make sure you have graphviz installed and thus the dot command
available.
Add [com.gfredericks/clj-usage-graph "0.1.3"] to your deps somehow
and then:
find src -type f | \
xargs lein run -m com.gfredericks.clj-usage-graph/generate | \
dot -Tsvg -o g.svg
Copyright © 2013 Gary Fredericks
Distributed under the Eclipse Public License, the same as Clojure.