networkx.radius
networkx.center
Return the periphery of the graph G.
The periphery is the set of nodes with eccentricity equal to the diameter.