addEdge method
Implementation
@internal
void addEdge(Graph<V, E> graph, V source, V target, {E? data}) =>
graph.addEdge(
source,
target,
data: data ?? edgeProvider?.call(source, target),
);
@internal
void addEdge(Graph<V, E> graph, V source, V target, {E? data}) =>
graph.addEdge(
source,
target,
data: data ?? edgeProvider?.call(source, target),
);