This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
- periphery(G, e=None)¶
Return the periphery of the graph G.
The periphery is the set of nodes with eccentricity equal to the diameter.
G : NetworkX graph
e : eccentricity dictionary, optional
A precomputed dictionary of eccentricities.
p : list
List of nodes in periphery