fgl-5.4.2.3: Martin Erwig's Functional Graph Library
Data.Graph.Inductive.Graphviz
Description
Simple graphviz output.
Synopsis
data Orient
Constructors
Instances
graphviz
Arguments
The graph to format
The title of the graph
The size of the page
The width and height of the page grid
The orientation of the graph.
Formats a graph for use in graphviz.
graphviz' :: (Graph g, Show a, Show b) => g a b -> String
Format a graph for graphviz with reasonable defaults: title of "fgl", 8.5x11 pages, one page, landscape orientation