Graph::AddNode
Defined in: C4Graph.h
Adds a node to a graph.
Prototype
void AddNode(GraphNode<nodeType, edgeType> *node);
Parameters
node |
The node to add to the graph.
|
Description
The AddNode function adds the node specified by the node parameter to a graph. Initially, the node has no incoming or outgoing edges.
See Also
Graph::RemoveNode
Graph::Purge
|