Network.edge_coordinates

Network.edge_coordinates(u, v, axes='xyz')[source]

Return the coordinates of the start and end point of an edge.

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

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

  • axes (str, optional) – The axes along which the coordinates should be included.

Returns

  • list[float] – The coordinates of the start point.

  • list[float] – The coordinates of the end point.