C4 Engine
C4 Engine API Documentation

Graph::AddGraphElement

Defined in:  TSGraph.h
Adds an element to a graph.
Prototype

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

Parameters
element The element to add to the graph.
Description
The AddGraphElement function adds the element specified by the element parameter to a graph. Initially, the element has no incoming or outgoing relations.
See Also

Graph::RemoveGraphElement

Graph::PurgeGraph