| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
Description | |||||||||||||||||
Synopsis | |||||||||||||||||
| |||||||||||||||||
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 |