1.5 · Lesson

Creating Graphs

To create nodesA vertex in a graph. In a property graph it can carry labels and properties. and relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. in the database, you use the MERGE clause.

You can use the MERGE clause to create a patternA graph structure written in Cypher, such as a node joined to another node by a relationship. in the database. MERGE will only create the pattern if it doesn't already exist.