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