Get the number of graphs
(&self)
| 178 | |
| 179 | /// Get the number of graphs |
| 180 | pub fn graph_count(&self) -> usize { |
| 181 | match self.graphs.read() { |
| 182 | Ok(graphs) => graphs.len(), |
| 183 | Err(_) => 0, |
| 184 | } |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | impl Default for MultiGraphManager { |