BendNetwork.to_nodes_and_edges

BendNetwork.to_nodes_and_edges()

Return the nodes and edges of a graph.

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.