CellNetwork.to_nodes_and_edges

CellNetwork.to_nodes_and_edges()

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.