prg_graph_destroy()
Abstract
Destroys the graph and potentially destroys all client states attached to the graph elements
Syntax
prg_graph_destroy (graph_ptr, dealloc_client_state)
| Argument | Type | Description |
|---|---|---|
graph_ptr |
PrgT_Graph * |
Graph to destroy |
dealloc_client_state |
int |
If 1, destroys all client states on graph elements (vertices, edges, and the graph) |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if success, otherwise PrgC_Compcode_Failure
Header
prg_graph.h