C4 Engine
C4 Engine API Documentation

Graph::RemoveGraphElement

Defined in:  TSGraph.h
Removes an element from a graph.
Prototype

void RemoveGraphElement(GraphElement<elementType, relationType> *element);

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

Graph::AddGraphElement

Graph::PurgeGraph