graph-cycles.js line 237, can anyone help me with the significance of this line
return (V[v2][0] - V[v1][0]) * (V[v2][1] + V[v1][1]);
i understand we take the positions for the start aned end of an edge, and the first bracketed term i think gives the length of the edge but why do we then multiply this by the sum of the y coordinate of the start and end position ?
it is used to eliminate certain cycles from the final result but otherwise im not sure