@hackage hs2dot0.1.1

Generate graphviz-code from Haskell-code.

hs2dot can generate graphviz code by analyzing Haskell source code.

Usage (to generate a pdf from a source code file Hack.hs)

hs2dot Hack.hs | dot -T pdf -o Hack.pdf

You can analyze multiple modules together:

hs2dot Foo.hs Bar.hs | dot -T png -o FooBar.png