Neo4j provides drivers which allow you to make a connection to the database and develop applications which create, read, update, and delete information from the graph.
Nodes are the entities in the graph.
- Nodes can be tagged with labels, representing their different roles in your domain. (For example, Person).
- Nodes can hold any number of key-value pairs, or properties. (For example, name)
- Node labels may also attach metadata (such as index or constraint information) to certain nodes.
Relationships provide directed, named, connections between two node entities (e.g. Person LOVES Person).
- Relationships always have a direction, a type, a start node, and an end node, and they can have properties, just like nodes.
- Nodes can have any number or type of relationships without sacrificing performance.
- Although relationships are always directed, they can be navigated efficiently in any direction.
sources:
https://towardsdatascience.com/create-a-graph-database-in-neo4j-using-python-4172d40f89c4
https://kshitizzb.medium.com/exploring-neo4j-using-python-the-graph-dbms-92787a7db6d7