centrality calculate graph row