FormDiagram.to_nodes_and_edges

FormDiagram.to_nodes_and_edges()[source]

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

>>>