addEdge abstract method

void addEdge(
  1. V source,
  2. V target, {
  3. E? value,
})

Adds an edge between source and target vertex. Optionally associates the provided value with the edge. If the edge already exists, replaces the existing edge data.

Implementation

void addEdge(V source, V target, {E? value});