The following sections show the various ways data model information can be imported into Cypher Workbench.

Import Model

Use Import > Import Model to import model information represented as JSON. Cypher Workbench currently supports 3 formats:

  • Cypher Workbench JSON: The model JSON resulting from Export > Export Model.

  • apoc.meta.schema: The value of the JSON resulting from CALL apoc.meta.schema() in the Neo4j browser.

  • Arrows JSON: The JSON resulting from an export of an model.

For apoc.meta.schema, the model will be presented using one of the built-in layouts. If Cypher Workbench or Arrows is imported, it will try and preserve the layout and color of the model.

Import Model from Database

Use Import > Import Model from Database to import data from a Neo4j database. When the menu item is clicked, the Neo4j Database Connection dialog will be presented. Any database configured using the database tool can be selected from the drop down. You can change any information as needed and click Import to start the import. Importing will take longer on larger databases.

The following fields are available to change as needed:

  • Database: Select a database from the list if you have previously configured it in the Databases tool.

  • URL: Enter a neo4j:// or bolt:// URL here that points to the Neo4j database you want to import from if not already filled out. Note: neo4j+s, neo4j+ssc, bolt+s, and bolt+ssc are also supported.

  • Database Name: Enter the Database Name to import from. Leaving it blank will import from the default database.

  • Encrypted: For a bolt:// URL, turn this switch on if the Neo4j database is SSL-enabled, and you have not specified bolt+s or bolt+ssc.

  • Username: Enter a username if not already filled out.

  • Password: Enter a password if not already filled out.