Lemma Open source note-taking for Linux
August 28, 2026

Graph Views

There's a new panel in the Lemma sidebar called the Graph View. It shows all pages in the neighborhood (one link away) of the current page, and the links among those pages too. Here's what it looks like:

I did a lot of experimenting with different layouts, in the end settling for the spring_layout function of the networkx library, which uses the Fruchterman-Reingold layout algorithm. It's reasonably fast and usually produces good layouts, at least as far as my test cases go.

There is still a lot of room for improvement. I want to add zoom and panning, visually distinguish backlinks, and the layouts too could be better with some more tweaks to the algorithm. But the big priority is now adding an overview graph to show all pages at once. I hope to have more graph news soon.