subdigraph

Function subdigraph 

Source
pub fn subdigraph<N, E, Ix>(
    digraph: &DiGraph<N, E, Ix>,
    nodes: &HashSet<N>,
) -> DiGraph<N, E, Ix>
where N: Node + Clone + Debug, E: EdgeWeight + Clone, Ix: IndexType,
Expand description

Extracts a subgraph from a directed graph