FormGraph.count_crossings
-
FormGraph.
count_crossings
() Count the number of crossings (pairs of crossing edges) in the network.
- Parameters
network (Network) – A network object.
- Returns
int – The number of crossings.
Notes
This algorithm assumes that the network lies in the XY plane.