Get a mutable reference to a node by ID
(&mut self, id: &str)
| 141 | |
| 142 | /// Get a mutable reference to a node by ID |
| 143 | pub fn get_node_mut(&mut self, id: &str) -> Option<&mut Node> { |
| 144 | self.nodes.get_mut(id) |
| 145 | } |
| 146 | |
| 147 | /// Get an edge by ID |
| 148 | pub fn get_edge(&self, id: &str) -> Option<&Edge> { |
no test coverage detected