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