Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.algorithms.distance_measures.radius

radius(G, e=None, usebounds=False)[source]

Returns the radius of the graph G.

The radius is the minimum eccentricity.

Parameters:
  • G (NetworkX graph) – A graph
  • e (eccentricity dictionary, optional) – A precomputed dictionary of eccentricities.
Returns:

r – Radius of graph

Return type:

integer