Module Visualization/Graphviz/Node

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

applyNodeProperty :: Node -> Property -> <Proc> ()

Sets one property on the node. Fails for a property that a node does not support, such as Rankdir.

newNode :: IGraph a => a -> [Property] -> <Proc> Node

Adds a new node to the given graph or subgraph, sets the given properties on it and returns it.

newPrimitiveNode :: IGraph -> <Proc> Node

Adds a new node with an empty label to the given graph or subgraph and returns it.

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

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

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

Sets the label attribute of the node, the text drawn in it. When the shape of the node is record, the label uses the DOT record layout syntax.

setShape :: Node -> String -> <Proc> ()

Sets the shape attribute of the node, for example box, ellipse, circle, diamond, plaintext, record or none.