Edge.getConnectingNode

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.

struct Edge
const
Node
getConnectingNode
()

Throws

MissingNodeException if the connecting node is undefined.

Meta