NetworkX

This documentation is for version 1.4.dev_20110115230102, which is not released yet.

Previous topic

networkx.radius

Next topic

networkx.diameter

networkx.center

center(G, e=None)

Return the periphery of the graph G.

The center is the set of nodes with eccentricity equal to radius.

Parameters :

G : NetworkX graph

A graph

e : eccentricity dictionary, optional

A precomputed dictionary of eccentricities.

Returns :

c : list

List of nodes in center