Create a new node
In:
Alias for #<<
Create an edge between the current node and the node oNode
Get the value of the node attribut xAttrName
Set value xAttrValue to the node attribut xAttrName
Calls block once for each attribut of the node, passing the name and value to the block as a two-element array.
If global is set to false, the block does not receive the attributs set globally
Get the node ID
Return the node index
Return the root graph
Set node attributs
Example :
n = graph.add_node( ... ) ... n.set { |_n| _n.color = "blue" _n.fontcolor = "red" }
[Validate]