Returns the weight of an edge. This defaults to 1.0 and can only be altered if the edge is a sub-class ofweighted-edge-mixin.
weighted-edge-mixin