HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.Data.Graph.Ppr

Pretty printing of graphs.

  • 2 values
  • Packageghc-9.10.3
  • Exports2
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourcePpr.hs
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.