ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2)
(&mut self)
| 523 | /// Get a mutable reference to the current graph |
| 524 | #[allow(dead_code)] // ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2) |
| 525 | pub fn get_current_graph_mut(&mut self) -> Option<&mut GraphCache> { |
| 526 | if let Some(graph_name) = &self.current_graph { |
| 527 | self.graphs.get_mut(graph_name) |
| 528 | } else { |
| 529 | None |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | /// Get a reference to the current graph |
| 534 | #[allow(dead_code)] // ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2) |