Week 3: The Graph Comes Alive

This week things finally started looking like an actual note graph.

Two PRs this week. The first one was about extracting structure from notes figuring out which notes link to each other, and which tags each note has. Pretty foundational stuff, not visually exciting but necessary before anything can be rendered.

The second one is where it got interesting. I got Cytoscape.js rendering inside the Joplin panel with the fCoSE layout. Explicit note links show up as solid edges with arrows, shared tags show up as dotted lines. You can click a node and it opens the note. It also adapts to light/dark theme and resizes with the panel. Wrote some unit tests for the core graph logic too.

So the structural graph is working now. Next up is the semantic layer embeddings, cosine similarity, edges based on meaning rather than just explicit links.

Preview:

Until next week, Yugal Kaushik signing off.

7 Likes