[Haskell-cafe] Creating a dependency graph (in the hope it may show some structure)
bneijt at gmail.com
Tue May 1 22:15:01 CEST 2012
I've reacently started with Haskell and during the Dutch Hackaton,
I decided to generate graphs of dependencies. I was thinking about
doing this for Java earlier, and that weekend I decided to write the
tooling in Haskell.
I've written two programs: hs2dot and dotimate. The first
generates a dot file (Graphviz) from all .hs files below the current
working directory. The second will take one or more dot files and call
neato (from Graphviz) multiple times to generate frames of neato
output from one to the next.
Trying hs2dot and dotimate on two sequencial commits in the
cabal/cabal-install/frames directory already gives me a way to complex
and full graph. See attached.
==> My question is: What dependencies, if any, would be nice to graph,
and/or which dependencies could I filter out to keep this from
becoming a mess?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181197 bytes
Desc: not available
More information about the Haskell-Cafe