prettyprinter-graphviz: a prettyprinter backend for graphviz

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Contains utility functions for rendering pretty GraphViz labels.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.0, 0.1.1.1, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.11 && <5), graphviz (>=2999.20.0.3 && <2999.21), prettyprinter (>=1.5.1 && <1.6), text (>=1.2.3.1 && <1.3) [details]
License BSD-3-Clause
Author George Thomas
Maintainer georgefsthomas@gmail.com
Category Graphics
Home page https://github.com/georgefst/prettyprinter-graphviz
Source repo head: git clone git://github.com/georgefst/prettyprinter-graphviz.git
Uploaded by GeorgeThomas at 2020-02-07T00:28:23Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for prettyprinter-graphviz-0.1.1.0

[back to package description]

GraphViz pretty-printing

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

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.