Skip to main content

node_boundary

Function node_boundary 

Source
pub fn node_boundary(
    graph: &Graph,
    nbunch: &[&str],
    nbunch2: Option<&[&str]>,
) -> Vec<String>
Expand description

Return the set of nodes on the boundary of nbunch. The node boundary is the set of nodes outside nbunch that have a neighbor in nbunch. If nbunch2 is given, only nodes in nbunch2 are considered for the boundary.