Returns `true` if the node exists in the graph.
(&self, id: NodeID)
| 993 | /// |
| 994 | /// This will return an error if the ID is of the graph input or graph |
| 995 | /// output node. |
| 996 | pub fn remove_node(&mut self, node_id: NodeID) -> Result<SmallVec<[Edge; 4]>, RemoveNodeError> { |
| 997 | self.graph.remove_node(node_id, false) |
| 998 | } |
| 999 | |
| 1000 | /// Returns `true` if the node exists in the graph. |