Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-usage-graph

A Clojure library that emits usage diagrams for your project.

Example

Caveats

  1. It will load all the source files you give it, so beware of any top-level side-effects.
  2. It doesn't reflect macro usage at all. Any macros in your project will appear unused, as only the expanded code is analyzed.
  3. It's probably not totally correct? Of course.

Usage

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

License

Copyright © 2013 Gary Fredericks

Distributed under the Eclipse Public License, the same as Clojure.

About

Haxy usage graphs for Clojure projects

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages