prg_graph_vertex_insert()
Abstract
Creates a vertex and inserts it into the graph
Syntax
prg_graph_vertex_insert (graph_ptr)
| Argument | Type | Description |
|---|---|---|
graph_ptr |
PrgT_Graph * |
The graph where the vertex will be created |
Return Type
PrgT_Graph_Vertex *
Returns the vertex that was created and inserted into the graph. If failure, returns PRGC_NIL.
Header
prg_graph.h