ASDF Dependency Graphs
Wednesday, October 12, 2005
Richard Newman has created a really cool little utility for
outputting the ".dot" files used by
GraphViz to generate Lisp library dependency graphs (for
libraries that are defined using
ASDF). You wind up with pretty
diagrams like the following one for Edi Weitz's
TBNL library:

Using it is too easy:
- Download GraphViz if you don't have it on your machine
- Download Richard's asdf-viz.lisp utility program
- Fire up your lisp, load asdf-viz.lisp and run the utility using
something like the following:
(asdf-viz::output-toplevel :tbnl :stream *standard-output* :process-files nil)
If you didn't output to a file, you'll need to either save the resulting output to a file (the convention is for the file to have a ".dot" suffix) or pipe it into GraphViz - Load the ".dot" file into GraphViz and enjoy!
Very cute!

