edgeIdxRatio property

double get edgeIdxRatio

Implementation

double get edgeIdxRatio {
  var edgeList = cpn?.graph.edgesFromTwoVertex(start, end) ?? [];
  var ratio = edgeList.indexOf(this) / edgeList.length;
  return ratio;
}