Network.edge_length

Network.edge_length(u, v)

Return the length of an edge.

Parameters
  • u (hashable) – The key of the start node.

  • v (hashable) – The key of the end node.

Returns

float – The length of the edge.