Maintainer | Ivan.Miljenovic@gmail.com |
---|
Data.GraphViz.Types
Description
This module defines the overall types and methods that interact with them for the GraphViz library.
- data DotGraph = DotGraph {
- graphAttributes :: [Attribute]
- graphNodes :: [DotNode]
- graphEdges :: [DotEdge]
- directedGraph :: Bool
- data DotNode
- = DotNode {
- nodeID :: Int
- nodeAttributes :: [Attribute]
- | DotCluster {
- clusterID :: String
- clusterAttributes :: [Attribute]
- clusterElems :: [DotNode]
- = DotNode {
- data DotEdge = DotEdge {}
- readDotGraph :: Parser Char DotGraph
Documentation
The internal representation of a graph in Dot form.
Constructors
DotGraph | |
Fields
|
A node in DotGraph
is either a singular node, or a cluster
containing nodes (or more clusters) within it.
Constructors
DotNode | |
Fields
| |
DotCluster | |
Fields
|
An edge in DotGraph
.
Constructors
DotEdge | |
Fields
|