A utility for displaying the module dependencies of Haskell programs.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
src
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
Setup.hs
graphmod.cabal
stack.yaml

README.md

Build Status

graphmod

Generate a graph of the module dependencies in the "dot" format, suitable as input to the graphviz tools.

Similar to ghc-pkg dot, but on modules instead of packages.

See the wiki for more documentation and examples.

Simple quickstart for cabal users

$ cabal install graphmod
$ ~/.cabal/bin/graphmod --help
$ ~/.cabal/bin/graphmod | tred | dot -Tpdf > modules.pdf

Simple quickstart for stack users

$ stack build --copy-compiler-tool graphmod
$ stack exec graphmod -- --help
$ stack exec graphmod | tred | dot -Tpdf > modules.pdf