UMinho Haskell Libraries (1.0)ContentsIndex
Data.Relation.GraphViz
Portability portable
Stability experimental
Maintainer joost.visser@di.uminho.pt
Contents
Representation
Printing
Auxilliaries
Description
Synopsis
type DotStatement = String
type DotAttributes = String
type NodeName = String
type GraphName = String
mkNode :: DotAttributes -> NodeName -> DotStatement
mkEdge :: DotAttributes -> (NodeName, NodeName) -> DotStatement
mkEdgeBack :: DotAttributes -> (NodeName, NodeName) -> DotStatement
quote :: String -> String
printRel :: (Show a, Ord a, Show b, Ord b) => GraphName -> Rel a b -> String
Representation
type DotStatement = String
The type of dot statements.
type DotAttributes = String
A list of dot attributes is represented by a string.
type NodeName = String
type GraphName = String
Printing
mkNode :: DotAttributes -> NodeName -> DotStatement
Create a node statement
mkEdge :: DotAttributes -> (NodeName, NodeName) -> DotStatement
Create an edge statement
mkEdgeBack :: DotAttributes -> (NodeName, NodeName) -> DotStatement
Create an edge statement with inverted direction
Auxilliaries
quote :: String -> String
Put quotes around a string.
printRel :: (Show a, Ord a, Show b, Ord b) => GraphName -> Rel a b -> String
Create content for dot file representing the given relation.
Produced by Haddock version 0.6