Network.to_lines

Network.to_lines()[source]

Return the lines of the network as pairs of start and end point coordinates.

Returns

list[tuple[list[float], list[float]]] – A list of lines each defined by a pair of point coordinates.