Skip to main content

extract_subgraph

Function extract_subgraph 

Source
pub fn extract_subgraph(
    graph: &CsrGraph,
    center: MemoryId,
    radius: usize,
) -> (Vec<MemoryId>, Vec<MemoryEdge>)
Expand description

Extract all nodes and edges within radius hops of center.