Get an edge by ID
(&self, id: &str)
| 146 | |
| 147 | /// Get an edge by ID |
| 148 | pub fn get_edge(&self, id: &str) -> Option<&Edge> { |
| 149 | self.edges.get(id) |
| 150 | } |
| 151 | |
| 152 | /// Get a mutable reference to an edge by ID |
| 153 | pub fn get_edge_mut(&mut self, id: &str) -> Option<&mut Edge> { |
no test coverage detected