Method AddNode
AddNode(INode)
Adds a node to the graph.
public virtual void AddNode(INode n)
Parameters
nINodeThe node to add.
Exceptions
- ArgumentException
Thrown when the node type is not accepted by this graph or when its ID collides with an existing graph element.