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.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.