Table of Contents

Method RemoveNode

Namespace
Gamelogic.Grids2.Graph.Editor
Assembly
Gamelogic.Grids2.Editor.dll

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 TNode

The node to remove.

Type Parameters

TNode