Adding betweenness centrality to node attributes