data-structures/edge

Graph edge.
Source:
Parameters:
Name Type Description
e Vertex Vertex which this edge connects.
v Vertex Vertex which this edge connects.
distance Number Weight of the edge.