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]]]