- Neo4j Tutorial
- Neo4j - Home
- Neo4j - Overview
- Neo4j - Data Model
- Neo4j - Environment Setup
- Neo4j - Building Blocks
- Neo4j CQL Write Clauses
- Neo4j - Merge Command
- Neo4j - Set Clause
- Neo4j - Delete Clause
- Neo4j - Remove Clause
- Neo4j - Foreach Clause
- Neo4j CQL Read Clause
- Neo4j - Match Clause
- Neo4j - Optional Match Clause
- Neo4j - Where Clause
- Neo4j - Count Function
- Neo4j CQL General Clauses
- Neo4j - Return Clause
- Neo4j - Order By Clause
- Neo4j - Limit Clause
- Neo4j - Skip Clause
- Neo4j - With Clause
- Neo4j - Unwind Clause
- Neo4j CQL Functions
- Neo4j - String Functions
- Neo4j - Aggregation Function
- Neo4j CQL Admin
- Neo4j - Backup & Restore
- Neo4j - Index
- Neo4j - Create Unique Constraint
- Neo4j - Drop Unique
- Neo4j Useful Resources
- Neo4j - Quick Guide
- Neo4j - Useful Resources
- Neo4j - Discussion
Neo4j - Graph Theory Basics
A Graph is a set of nodes and the relationships that connect those nodes. Graphs stores data in Nodes and Relationships in the form of Properties. Properties are key-value pairs to represent data.
In Graph Theory, we can represent a node with a circle and relationship between nodes is represented with an arrow mark.
The simplest possible graph is a single Node.
We can represent a Social Network like Google+(GooglePlus) profile with a Node. It does NOT contain any properties.
Add some properties to Google+ Profile
This node contains a set of properties. A Property is a name:value pair.
Relationships are created between two nodes
Here Relationship name "Follows" is created between two profiles. That means Profile-I follows Profile-II.
Complex Graph Example
Here nodes are connected with relationships. Relationships are unidirectional or bi-directional.
- Relationship from XYZ to PQR is a unidirectional relationship.
- Relationship from ABC to XYZ is a bidirectional relationship.