PlanarEmbedding.remove_node#
- PlanarEmbedding.remove_node(n)[source]#
Remove node n.
Removes the node n and all adjacent edges, updating the PlanarEmbedding to account for any resulting edge removal. Attempting to remove a non-existent node will raise an exception.
- Parameters:
- nnode
A node in the graph
- Raises:
- NetworkXError
If n is not in the graph.
See also