- (graph-vertex-update (G <graph>) vertex [#!rest attr])method
- (graph-vertex-update! (G <graph>) vertex [#!rest attr])method
Updates the vertex attributes for a vertex in graph G. Raises an error if the vertex does not exist within the graph.
- the graph to update
- the vertex whose attributes you wish to modify
- a series of keyword / value pairs which describe attributes to add to the vertex
(graph-vertex-update G 'a colour: "red" size: 4)