I am trying to compute the Page Rank of the nodes of the Largest CC of the ‘cond-mat-2003’ graph. It seems like I am unable to compute them over only the Largest CC.
First, I extract the largest connected component:
g = collection.data[cond-mat-2003]
l = topology.label_largest_component(g)
g = GraphView(g, vfilt=l) OR g.set_vertex_filter(l)