A utility for displaying the module dependencies of Haskell programs.
Haskell
187
126 commits
updated Apr 24, 2026
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.
$ cabal install graphmod
$ ~/.cabal/bin/graphmod --help
$ ~/.cabal/bin/graphmod | tred | dot -Tpdf > modules.pdf
$ stack build --copy-compiler-tool graphmod
$ stack exec graphmod -- --help
$ stack exec graphmod | tred | dot -Tpdf > modules.pdf
(top 24 of 28)
526 followers · starred Jan 2015
274 followers · starred Oct 2021
493 followers · starred Oct 2021
241 followers · starred Aug 2021
A utility for displaying the module dependencies of Haskell programs.
Haskell
187
126 commits
updated Apr 24, 2026
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.
$ cabal install graphmod
$ ~/.cabal/bin/graphmod --help
$ ~/.cabal/bin/graphmod | tred | dot -Tpdf > modules.pdf
$ stack build --copy-compiler-tool graphmod
$ stack exec graphmod -- --help
$ stack exec graphmod | tred | dot -Tpdf > modules.pdf
(top 24 of 28)
526 followers · starred Jan 2015
274 followers · starred Oct 2021
493 followers · starred Oct 2021
241 followers · starred Aug 2021