center(G, e=None, usebounds=False)¶
Returns the center of the graph G.
The center is the set of nodes with eccentricity equal to radius.
G (NetworkX graph) – A graph
e (eccentricity dictionary, optional) – A precomputed dictionary of eccentricities.
c – List of nodes in center
- Return type