Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- render :: Doc Attribute -> Label
- render' :: SimpleDocStream Attribute -> Text
- data GraphVizRenderError
Rendering functions
render :: Doc Attribute -> Label Source #
Render a document as a GraphViz label, using defaultLayoutOptions
.
render' :: SimpleDocStream Attribute -> Text Source #
Render a document stream as HTML text for GraphViz. This provides more fine-grained control than render
.
Error handling
data GraphVizRenderError Source #
The functions in this module can throw errors, given a malformed document stream. The average user is very unlikely to run into this, but error handling functionality is provided for completeness.