Construct an edge.
Returns the node that is connects this edge with other edge. In case of undirected graphs this is just the common node of both edges; in directed case this is the end node of this edge if it matches the start node of other edge.
Orders edge lexicographically by start, end(, weight).
Two edges are equal iff their incident nodes (and weight) are the same.
Get source of this edge beginning at node from. For undirected graphs returns the other node of this edge.
Get target of this edge beginning at node from. For undirected graphs returns the other node of this edge.