HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.Data.Graph.Ppr

Pretty printing of graphs.

  • 2 values
valuedotGraph
  1. :: (Uniquable k, Outputable k, Outputable cls, Outputable color)
  2. => (color -> SDoc)

    What 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

  3. -> Triv k cls color
  4. -> Graph k cls color
  5. -> SDoc
#

Pretty print a graph in graphviz .dot format. Conflicts get solid edges. Coalescences get dashed edges.