WLJS LogoWLJS Notebook

EccentricityCentrality

EccentricityCentrality[g] gives a list of eccentricity centralities for the vertices in the graph g.

EccentricityCentrality[{v -> w, ...}] uses rules v -> w to specify the graph g.

Examples

Get eccentricity centrality for a graph:

EccentricityCentrality[CycleGraph[5]]

Please visit the official Wolfram Language Reference for more details.

On this page