Once the projected graph is created, we can run the PageRank algorithm using the following:
CALL gds.pageRank.write("graph", {writeProperty: "pr"})
We can also use the Louvain algorithm:
CALL gds.louvain.write("graph", {writeProperty: "lv"})
The results for the Louvain algorithm were shown in the figures at the end of the last section. We will analyze the results of the PageRank algorithm in the following sections.