Skip to main content

detect_cycle

Function detect_cycle 

Source
pub fn detect_cycle(start: &CellRef, grid: &Grid) -> Option<Vec<CellRef>>
Expand description

Detect circular dependencies starting from a cell. Returns Some(cycle_path) if a cycle is found, None otherwise.