Module Visualization/Graphviz/Edge

This module is undocumented. This is a list of its definitions.

applyEdgeProperty :: Edge -> Property -> <Proc> ()

Sets one property on the edge. Only Label and GenericProperty apply to an edge; any other property fails.

newEdge :: Identifiable a => Identifiable b => a -> b -> [Property] -> <Proc> Edge

Adds a new edge from the first endpoint to the second, sets the given properties on it and returns it. Both endpoints must already belong to the same root graph.

newPrimitiveEdge :: Identifiable -> Identifiable -> <Proc> Edge

Adds a new edge from the first endpoint to the second and returns it. The edge is placed in the innermost graph or subgraph that contains both endpoints; it fails if the endpoints do not belong to the same root graph.

setGenericProperty :: Edge -> String -> String -> <Proc> ()

Sets an arbitrary DOT edge attribute, given its name and its value. Setting the same attribute again replaces the earlier value.

setLabel :: Edge -> String -> <Proc> ()

Sets the label attribute of the edge, the text drawn beside it.