The src parameter is the source vertex ID. It represents the starting point of an edge in
a graph.
The dest parameter is the identifier of the destination vertex. It represents the vertex
to which an edge is directed.
Optional weight: numberThe weight parameter is an optional number that represents the weight of the edge
between two vertices.
Private _destProtected _hashPrivate _srcProtected _weightProtected _setGenerated using TypeDoc
The constructor function initializes the source and destination vertices of an edge, with an optional weight.