CellNetwork.to_nodes_and_edges

CellNetwork.to_nodes_and_edges()

Return the nodes and edges of a network.

Returns

tuple – A 2-tuple containing

  • a list of nodes, represented by their XYZ coordinates, and

  • a list of edges.

Each face is a list of indices referencing the list of node coordinates.

Examples

>>>