hs2dot

Generate graphviz-code from Haskell-code. http://www.github.com/finnsson/hs2graphviz

Latest on Hackage:0.1.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

OtherLicense licensed by Oscar Finnsson

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

Changelog:

  1. 1.3: Updated dependencies to be less picky.

  2. 1.4: Included Hs2Dot.Internals in sdist

comments powered byDisqus