Return the node boundary.
The node boundary is all nodes in the edge boundary of a given set of nodes that are in the set.
Parameters : | G : graph
nbunch1 : list, container
nbunch2 : list, container
|
---|---|
Returns : | nlist : list
|
Notes
Nodes in nbunch1 and nbunch2 that are not in G are ignored.
nbunch1 and nbunch2 are usually meant to be disjoint, but in the interest of speed and generality, that is not required here.