Skip to main content

clone_subgraph

Function clone_subgraph 

Source
pub fn clone_subgraph(graph: &Graph, node_ids: &HashSet<StableId>) -> Graph
Expand description

Creates a new minimal Graph containing only the specified nodes and the edges connecting them.