homepage: https://github.com/georgefst/prettyprinter-graphviz
changelog-type: markdown
hash: a9e30887efc5a65af621dbad6f5a631d0ce23aec771bede3b8da4c8cf2155bfb
test-bench-deps: {}
maintainer: georgefsthomas@gmail.com
synopsis: a prettyprinter backend for graphviz
changelog: |
  # Revision history for prettyprinter-graphviz

  ## 0.1.0.0 -- YYYY-mm-dd

  * First version. Released on an unsuspecting world.
basic-deps:
  base: ! '>=4.11 && <5'
  text: ^>=1.2.3.1
  graphviz: ^>=2999.20.0.3
  prettyprinter: ^>=1.5.1
all-versions:
- 0.1.0.0
author: George Thomas
latest: 0.1.0.0
description-type: markdown
description: |
  pretty-printing for GraphViz labels
  ===================================

  Just some simple utility functions for hooking up the Haskell libraries [graphviz](https://hackage.haskell.org/package/graphviz) and [prettyprinter](https://hackage.haskell.org/package/prettyprinter).

  Given a [Doc](https://hackage.haskell.org/package/prettyprinter/docs/Data-Text-Prettyprint-Doc.html#t:Doc), you can use [render](https://hackage.haskell.org/package/prettyprinter-graphviz/docs/Data-Text-Prettyprint-Doc-Render-GraphViz.html#v:render) to transform it to a GraphViz [Label](https://hackage.haskell.org/package/graphviz/docs/Data-GraphViz-Attributes-Complete.html#t: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`.
license-name: BSD-3-Clause

Update from Hackage at 2020-01-16T11:58:05Z
Update from Hackage at 2020-01-16T11:58:05Z
