happy-dot-1.0.0.0: Parser for dot made with happy.

LicenseGPL-3
MaintainerMarcelo Garlet Millani <marcelogmillani@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Language.Dot.Pretty

Description

Pretty printer for DOT.

Synopsis

Documentation

prettyPrint :: (Bool, GraphType, Maybe Name, [Statement]) -> Doc Source #

Convert a graph into a PrettyPrint document.

render :: (Bool, GraphType, Maybe Name, [Statement]) -> String Source #

Render a graph as a string. Uses prettyPrint above.