ajhc-0.8.0.6: Haskell compiler that produce binary through C language

Safe HaskellNone

Util.Graphviz

Description

Simple graphviz output.

Synopsis

Documentation

data Orient Source

Constructors

Portrait 
Landscape 

Instances

graphvizSource

Arguments

:: Graph g 
=> g a b

The graph to format

-> String

The title of the graph

-> [(String, String)] 
-> (a -> [(String, String)]) 
-> (b -> [(String, String)]) 
-> (Double, Double)

The size of the page

-> (Int, Int)

The width and height of the page grid

-> Orient

The orientation of the graph.

-> String 

graphviz' :: Graph g => g a b -> [(String, String)] -> (a -> [(String, String)]) -> (b -> [(String, String)]) -> StringSource

Format a graph for graphviz with reasonable defaults: title of "fgl", 8.5x11 pages, one page, landscape orientation