Tue 11 Oct 2005

asdf-viz

This afternoon, for some documentation, I found myself needing to chart dependencies and file structures for ASDF packages.

Now, an ASDF system knows its package dependencies, module and file structures, and name… so why not interrogate it, and produce some output?

160-odd lines later, and the result is asdf-viz. This takes an ASDF package (symbol, string, or system) and outputs DOT, ready to pipe into GraphViz.

Some sample output is here:
There's a bit of room for improvement — it's supposed to output files as ellipses, I haven't labelled the lines, and the layout could be better — but it's a good start.

Bryan O'Connor ran it on UCW, yielding this pretty graph.

Thoughts welcome!

Update: I'm working on clustering and unflattening the output.

Posted at 2005-10-11 23:54:39 by RichardLink to asdf-viz
Comments, trackbacks.

Google
Web holygoat.co.uk
  • richard is: