NetworkX

Previous topic

networkx.algorithms.distance_measures.periphery

Next topic

Distance-Regular Graphs

networkx.algorithms.distance_measures.radius

networkx.algorithms.distance_measures.radius(G, e=None)

Return 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 : integer

Radius of graph