Graph typesCypher 25 onlyEnterprise EditionIntroduced in Neo4j 2026.02
|
Preview Feature
The graph types feature is offered AS-IS as described in your agreement with Neo4j and should only be used for internal development purposes. When this feature becomes generally available, you will need to upgrade to the latest Neo4j version (which may require downtime) to use the feature for non-development purposes. Graph types are enabled by default, both in Aura and self-managed Neo4j. Use the internal setting During the Preview period, if you have any feedback, comments, or encounter any issues, we welcome them in our public GitHub repository.
We will address them to the best of our ability.
Please include the term Graph types in the title of your issue so we can identify it more easily. |
Graph types allow you to specify a graph schema for a database.
When a database is created, it has an empty graph type, meaning it is free from any constraints on what can be stored in a database. Setting a graph type, typically done following the creation of a database, enables users to impose a schema on the nodes, relationships, and properties included in the graph type, thereby ensuring the integrity and quality of the data in a graph.
Cypher® supports open graph types, meaning that a graph type only constrains the data included by the graph type. It does not impose any constraints on nodes, relationships, and properties not included by the graph type.
For more information about working with graph types, see:
For reference material about the Cypher® commands used to manage graph types, see Syntax → Graph types.