There should be a method for updating an edge, for example UpdateEdge[K comparable](source, target K, options ...func(*EdgeProperties)) error. The API should be exactly the same as for AddEdge, so that the user can use the existing functional options for setting the edge properties.
There should be a method for updating an edge, for example
UpdateEdge[K comparable](source, target K, options ...func(*EdgeProperties)) error
. The API should be exactly the same as forAddEdge
, so that the user can use the existing functional options for setting the edge properties.