https://medium.com/@tomatyss/from-notion-to-neo4j-70a288976813
From Notion to Neo4j
·
3 min read
·
Feb 18, 2022
How to visualize the connection between Notion’s docs.
For the rest of my life, I am trying to keep all notes in one place. My first tool for this was the Media Wiki, it wasn’t easy, didn’t have a mobile version. Just the version running on localhost on my laptop. But it worked better than Evernote or simple markdown notes.
5 years ago I found Notion (I think it was the best tool for keeping all notes in one place, even then it had browser, mobile, and desktop versions). So I started using Notion. And every year I changed the structure of keeping my notes.
Sometime after I read a few articles about Zettelkasten(Overview from Zettelkasten.de) method and reorganize my notes in one database. And I was trying to connect notes in different ways in Notion.
While searching for special apps for Zettelkasten, I understood that one of the likely features that I’ve been missing is visualization links between notes. For example, MediaWiki has the GraphViz extension that lets you create and display graphs as in-line images on wiki pages using tools from the open-source Graphviz and Mscgen projects. Apps like Obsidian Obsidian and Roam Research Roam Research have graphs too. But Notion doesn’t have this type of visualization yet.
Okay, let’s add some graphs from the Notion note’s links. We need Notion, a free account on neo4j.com cloud (or if you prefer you can use a local database instance), and a jupyter notebook or Colab with a few lines of code.
Create a new integration in https://www.notion.so/my-integrations, then don’t forget about sharing your pages or database with your integration.
Create a free instance Neo4j
Copy credential for Notion and Neo4j to notebook or Colab
Enjoy
Now you can use Neo4j Bloom for displaying how your notes relink to each other and find some insides.
P.S. I’ll be very appreciative of critics, comments, and suggestions.
P.P.S. And I just spent 20 minutes on the code, sorry if you have some bugs.
References