chickadee » graphs » graph-edge-update!

(graph-edge-update (G <multidigraph>) u v id [#!rest attr])method
(graph-edge-update (G <multigraph>) u v id [#!rest attr])method
(graph-edge-update (G <digraph>) u v [#!rest attr])method
(graph-edge-update (G <graph>) u v [#!rest attr])method
(graph-edge-update! (G <multidigraph>) u v id [#!rest attr])method
(graph-edge-update! (G <multigraph>) u v id [#!rest attr])method
(graph-edge-update! (G <digraph>) u v [#!rest attr])method
(graph-edge-update! (G <graph>) u v [#!rest attr])method

Updates the attributes for an edge u->v in graph G, with ID id if the graph is a multigraph. Raises an error if the edge u->v does not exist.

G
the graph to update
u
the head vertex of the edge to update
v
the tail vertex of the edge to update
id
(multigraph-types only) the ID of the edge whose attributes you wish to update
attr
a set of keyword / value pairs describing attributes to add to the edge