@OliverBalfour I’m surprised there are so few topics that mention PageRank. I’ve made a new Python package obsidiantools - in sum I managed to calculate PageRank values for a basic vault via the
vault.graph
object in my API.
I use Python’s NetworkX (nx
) package to calculate the PageRank values so this is one line of additional code:
Demo graph (visualisation of NetworkX graph)
Obsidian.md docs talk a lot about the power of backlinks… PageRank looks at backlinks with a mind for their quality at its core, so it would be a useful algo for Obsidian analytics.
I collect metadata about notes in a Pandas dataframe (which can go to formats like JSON). Including PageRank in there would be straightforward. The next step after that would be a plugin that integrates with the Python package.