NetworkX

Previous topic

Algorithms

Next topic

networkx.edge_boundary

Quick search

BoundaryΒΆ

Node boundaries are nodes outside the set of nodes that have an edge to a node in the set.

edge_boundary (G, nbunch1[, nbunch2]) Return the edge boundary.
node_boundary (G, nbunch1[, nbunch2]) Return the node boundary.