Method RemoveNode
RemoveNode<TNode>(Graph<TNode>, TNode)
Un-links this node from other nodes, destroys it, and removes it from the graph.
public static void RemoveNode<TNode>(this Graph<TNode> graph, TNode node) where TNode : BaseNode
Parameters
graph
Graph<TNode>Graph from where the node will be removed.
node
TNodeThe node to remove.
Type Parameters
TNode