This documents the development version of NetworkX. Documentation for the current release can be found here.
periphery(G, e=None, usebounds=False)¶
Returns the periphery of the graph G.
The periphery is the set of nodes with eccentricity equal to the diameter.
- GNetworkX graph
- eeccentricity dictionary, optional
A precomputed dictionary of eccentricities.
List of nodes in periphery