Nodes.delete_nodes¶
- Nodes.delete_nodes(nodes, return_indices: bool = False)[source]¶
Delete nodes from Nodes object.
- Parameters
- nodesint, ndarray of int
Indices of nodes to delete.
- return_indicesbool, default=False
If True, node indices of deleted nodes are returned.
- Returns
- ndarray, optional
If return_indices is True, node indices of deleted nodes are returned.
See also