topological_layers

Function topological_layers 

Source
pub fn topological_layers(
    graph: &DroneGraph,
) -> Result<Vec<Vec<String>>, String>
Expand description

Returns the layered topological order of the graph. Each layer is the set of blocks whose dependencies are already satisfied — independent branches run together.