stephane.bio
  • Invest
  • Build
  • Write
  • Think
Ketchup

From Notion to Neo4j. How to visualize the connection between… | by Ivan Yufryakov | Medium

https://medium.com/@tomatyss/from-notion-to-neo4j-70a288976813

From Notion to Neo4j

image

Ivan Yufryakov

·

Follow

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.

image

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.

image
image

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.

image

Create a free instance Neo4j

Copy notebook or Colab

Copy credential for Notion and Neo4j to notebook or Colab

Run notebook or Colab

Enjoy

Now you can use Neo4j Bloom for displaying how your notes relink to each other and find some insides.

image
image
image

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

Start building with the Notion API

Connect Notion pages and databases to the tools you use every day, creating powerful workflows.

developers.notion.com

https://neo4j.com/developer/guide-data-modeling/

stephane.bio

Made with Notion, Published on Super - 2026 © Stephane Boghossian

LinkedInInstagramMediumGitHubXBehanceDiscordPinterest