Popularity
2.8
Growing
Activity
0.0
Declining
1
4
0

Monthly Downloads: 35
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Graphics     Prettyprinter    
Latest version: v1.0.0.0
Add another 'prettyprinter' Package

README

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.

Example