easygraph.functions.centrality.pagerank module#

easygraph.functions.centrality.pagerank.pagerank(G, alpha=0.85)[source]#

Returns the PageRank value of each node in G.

Parameters:
  • G (graph) – Undirected graph will be considered as directed graph with two directed edges for each undirected edge.

  • alpha (float) – The damping factor. Default is 0.85