Skip to main content
In the CREATE query above, the two nodes having label Person and the edge were created in the same query. You can also create nodes and queries one by one (less efficient).
In the case you create the nodes then the edges, you need to commit your changes after node creation.