Network.edge_coordinates

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

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

Parameters:
edgetuple[hashable, hashable]

The identifier of the edge.

axesstr, optional

The axes along which the coordinates should be included.

Returns:
tuple[list[float], list[float]]

The coordinates of the start point. The coordinates of the end point.