It is a prerequisite for edge-classes to implement this method.
It is a prerequisite for edge-classes to implement this method. Otherwise
they cannot be passed to a Graph
.
Graph
calls this method internally to obtain a new instance of the
edge passed to Graph
with nodes of the type of the inner class NodeT
which itself contains the outer node.
This trait is to be mixed in by every class implementing EdgeLike.