Skip to main content

Graph.Edge

A weighted, directed connection between two vertices.

Properties

Properties​

dst​

dst: (readonly) Graph.Vertex<T>

The vertex at the destination of this edge.

src​

src: (readonly) Graph.Vertex<T>

The vertex at the source of this edge.

weight​

weight: (readonly) number

The weight associated with this edge.