Network.to_nodes_and_edges
- Network.to_nodes_and_edges()[source]
Return the nodes and edges of a network.
- Returns:
- list[list[float]]
A list of nodes, represented by their XYZ coordinates.
- list[tuple[hashable, hashable]]
A list of edges, with each edge represented by a pair of indices in the node list.
See also