addEdge abstract method

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

Adds an edge between source and target vertex. Optionally associates the provided data with the edge.

Implementation

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