I'm doing a project in which I want to rank the nodes of a graph using page-rank centrality. The Mathematica documentation for PageRankCentrality
is:
PageRankCentrality[g, α]
, gives a list of page-rank centralities for the vertices in the graphg
and weightα
.
For example, it may return something like: {0.04, 0.0012, 0.093}
, where each element of the list is a centrality measure. My question is how do I figure out which nodes each of these centrality measures represents? In other words, how would I figure out if node 1, 2, or 3 is the node that corresponds to 0.04
, 0.0012
, or 0.093
?
Thank you so much!