(&self)
| 212 | /// before predecessors in the resulting SCC DAG). |
| 213 | #[cfg(test)] |
| 214 | pub fn values(&self) -> impl ExactSizeIterator<Item = &[Node]> + '_ { |
| 215 | self.components |
| 216 | .values() |
| 217 | .map(|range| self.node_range(range.clone())) |
| 218 | } |
| 219 | |
| 220 | /// Get the `Node`s that make up the given strongly-connected component. |
| 221 | pub fn nodes(&self, component: Scc) -> &[Node] { |