Skip to main content

node_disjoint_paths

Function node_disjoint_paths 

Source
pub fn node_disjoint_paths(
    graph: &Graph,
    source: &str,
    target: &str,
) -> Result<Vec<Vec<String>>, DisjointPathsError>
Expand description

Find node-disjoint paths between source and target: networkx’s node_disjoint_paths with its default flow function, path for path and in its order. As networkx’s, source == target is a query (for the cycles through the node), not an error.