In personalized PageRank, more weight is given to some user-defined nodes. For instance, giving a higher importance to node C can be achieved with this query:
MATCH (A:Node {name: "A"})
CALL gds.pageRank.stream("projected_graph", {
sourceNodes: [A]
})
YIELD nodeId, score
RETURN gds.util.asNode(nodeId).name AS nodeName, round(score*100)/100 as score
ORDER BY score DESC
The results are listed in the following table. You can see that node A has gained more importance than it did in the traditional PageRank:
╒══════════╤═══════╕
│"nodeName"│"score"│
╞══════════╪═══════╡
│"A" │0.44 │
├─...