Function GraphNode.Disconnect

Disconnect (GraphNode lhs, GraphNode rhs)

Removes the connection between two nodes.

Public Static
void Disconnect (

GraphNode

lhs

GraphNode

rhs

)

Removes the connection between two nodes.

If no connection exists between the nodes, nothing will be done.

This will also handle special connections representations that some node types use. For example grid graphs represent the connections to their 8 grid neighbours differently from other connections.