Edge<E> constructor

const Edge<E>(
  1. E source,
  2. E target
)

Creates an edge from source to target.

Implementation

const Edge(this.source, this.target);