Get a node by ID
(&self, id: &str)
| 136 | |
| 137 | /// Get a node by ID |
| 138 | pub fn get_node(&self, id: &str) -> Option<&Node> { |
| 139 | self.nodes.get(id) |
| 140 | } |
| 141 | |
| 142 | /// Get a mutable reference to a node by ID |
| 143 | pub fn get_node_mut(&mut self, id: &str) -> Option<&mut Node> { |
no test coverage detected