georgefst / prettyprinter-graphviz

Haskell functions for rendering pretty GraphViz labels.

Home Page:http://hackage.haskell.org/package/prettyprinter-graphviz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Haskell functions for rendering pretty GraphViz labels.

http://hackage.haskell.org/package/prettyprinter-graphviz

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%