C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Graph::GetNodeCount

Defined in:  C4Graph.h
Returns the number of nodes in a graph.
Prototype

long GetNodeCount(voidconst;

Description
The GetNodeCount function returns the number of nodes in a graph.

If the only information needed is whether a graph contains a nonzero number of nodes, then it is more efficient to call the Graph::Empty function.
See Also

Graph::Empty

Graph::Purge