3.1. Nodes

The fundamental units that form a graph are nodes and relationships. In Neo4j, both nodes and relationships can contain properties.

Nodes are often used to represent entities, but depending on the domain relationships may be used for that purpose as well.

graphdb-nodes-overview.svg

Let’s start out with a really simple graph, containing only a single node with one property:

graphdb-nodes.svg