center
eccentricity
Enter search terms or a module, class or function name.
Return the diameter of the graph G.
The diameter is the maximum eccentricity.
G : NetworkX graph
A graph
e : eccentricity dictionary, optional
A precomputed dictionary of eccentricities.
d : integer
Diameter of graph
See also