shortest network path with centrality