I started using org-roam a few days ago and am migrating content to this system. The graph has me intrigued, so I began to use some analytical tools to analyse the knowledge as it exists in my Zettelkasten this far.

The code to create this graph (in R) does three things:

- Organise the layout of the graph using a force-directed algorithm (place the most connected topics in the centre)
- The size of the topics relates to the number of connections (the degree of the node)
- Lastly, I used community detection to find meta-themes in the graph (the coloured areas).

Mathematical network analysis can help to uncover structure in your knowledge that you did not know to exist. If somebody can write Elisp to export the network as an edge list (from-to) CSV file, then you can use software such as Gephi to create your visualisation.

You can download the Zettel that contains the code. You will need the ESS package and the R language plus some libraries to run the code.