yav/graphmod

A utility for displaying the module dependencies of Haskell programs.

Haskell

187

126 commits

updated Apr 24, 2026

See the code

README

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

yav/graphmod

A utility for displaying the module dependencies of Haskell programs.

Haskell

187

126 commits

updated Apr 24, 2026

See the code

README

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

Significant stargazers

(top 24 of 28)

John Ericson

526 followers · starred Jan 2015

Julian Ospald

274 followers · starred Oct 2021

Chris Penner

493 followers · starred Oct 2021

Profpatsch

241 followers · starred Aug 2021