Database Reference
In-Depth Information
Pattern for more than one node
More than one node is defined in the same way as we do for a single node, but when two or
more nodes are used, then we also need to define the relationship between these two nodes.
Consider the following code as an example:
(n)-->(n1)
In the preceding example, we have defined two nodes,
n
and
n1
, and both the nodes are
connected to each other through a directed arrow
-->
which is known as the directed rela-
tionship between
n
and
n1
.