The centrality index of a graph