ghc-6.12.3: The GHC APISource codeContentsIndex
GraphPpr
Description
Pretty printing of graphs.
Synopsis
dumpGraph :: (Outputable k, Outputable cls, Outputable color) => Graph k cls color -> SDoc
dotGraph :: (Uniquable k, Outputable k, Outputable cls, Outputable color) => (color -> SDoc) -> Triv k cls color -> Graph k cls color -> SDoc
Documentation
dumpGraph :: (Outputable k, Outputable cls, Outputable color) => Graph k cls color -> SDocSource
Pretty print a graph in a somewhat human readable format.
dotGraphSource
:: (Uniquable k, Outputable k, Outputable cls, Outputable color)
=> color -> SDocWhat graphviz color to use for each node color It's usually safe to return X11 style colors here, ie red, green etc or a hex triplet #aaff55 etc
-> Triv k cls color
-> Graph k cls color
-> SDoc
Pretty print a graph in graphviz .dot format. Conflicts get solid edges. Coalescences get dashed edges.
Produced by Haddock version 2.6.1