C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Graph::RemoveNode

Defined in:  C4Graph.h
Removes a node from a graph.
Prototype

void RemoveNode(GraphNode<nodeType, edgeType> *node);

Parameters
node The node to remove from the graph.
Description
The RemoveNode function removes the node specified by the node parameter from a graph. This function destroys all incoming and outgoing edges for the node.
See Also

Graph::AddNode

Graph::Purge