Draw the schema of an existing Neo4j database

Already have a Neo4j database? Run two queries in Neo4j Browser, paste the results, and we'll draw its schema for you, laid out and ready to edit. toro4n never connects to your database and never reads your data.

Step by step

  1. Go to File › Import… and choose Neo4j database.
  2. Click Copy on the first query, run it in Neo4j Browser, and paste the result into the box at the bottom of the dialog. Then copy and run the second query, and paste its result into the same box.
  3. Choose Open as a new model or Add to the open model, then click Import.

Instead of pasting, you can pick your exported files with Choose file…, or drop them anywhere in toro4n. We read results copied or exported from Neo4j Browser, cypher-shell output, and HTTP API responses. The import needs both results: if you drop just one, the Import dialog opens so you can add the other.

What the queries read

Both queries are read-only. The first uses the db.schema.* procedures to read your node labels and the property keys and types on nodes and relationships, then works out which labels each relationship type connects. The second reads your constraints with SHOW CONSTRAINTS. Because you run the queries yourself, the import works with any Neo4j installation, even one that can't be reached from outside your network.

What gets drawn

Everything else works like any other import: the schema goes into a new layer, and if you add it to a model that already has nodes with the same labels, we'll ask whether to merge them. We've tested the import with real results from Neo4j 5.26 and 2026.09.

Going the other way

When you're done editing, click Export to get a Cypher script that creates your constraints and the nodes and relationships in your model.

Questions

Does toro4n connect to my Neo4j database?

No. You run two read-only queries yourself in Neo4j Browser and paste the results into toro4n. We never open a connection to your database.

Does toro4n see the data in my database?

No. The queries return only labels, relationship types, property keys and types, and constraints, never property values.

Related