- (graph-vertex-remove (G <graph>) vertex)method
- (graph-vertex-remove! (G <graph>) vertex)method
Removes a vertex and all associated edges / vertex attributes from the graph G. Raises an error if the vertex does not exist within the graph.
- G
- the graph you wish to remove the vertex from
- vertex
- the vertex you wish to remove