prettyprinter-graphviz: A prettyprinter backend for graphviz

[ bsd3, graphics, library ] [ Propose Tags ]

Provides utility functions for rendering pretty GraphViz labels.

[Skip to Readme]
Versions [faq],,,,,,,
Change log
Dependencies base (>=4.11 && <5), graphviz (>=2999.20.0.3 && <2999.21), prettyprinter (>=1.5.1 && <1.8), text (>= && <1.3) [details]
License BSD-3-Clause
Author George Thomas
Category Graphics
Home page
Source repo head: git clone git://
Uploaded by GeorgeThomas at 2020-10-09T10:07:41Z
Distributions NixOS:
Downloads 1018 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for prettyprinter-graphviz-

[back to package description]

GraphViz pretty-printing

Just some simple utility functions for hooking up the Haskell libraries graphviz and prettyprinter.

Given a Doc, you can use render to transform it to a GraphViz Label. If you are using a different annotation type (eg. something more abstract), then you can define a mapping to GraphViz HTML attributes, and fmap it over your Doc.