Create nodes and relationships

Create labeled nodes and relationships in FalkorDB using Cypher CREATE operations.

22|2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/FalkorDB/skills --skill create-nodes-and-relationships
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Create nodes and relationships
Source: https://github.com/FalkorDB/skills/tree/main/cypher-skills/create-nodes-and-relationships
Command: npx skills add https://github.com/FalkorDB/skills --skill create-nodes-and-relationships

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers create graph structures in FalkorDB without confusion around node labels, properties, and relationship syntax.

Core Features & Use Cases

  • Node Creation: Add labeled FalkorDB nodes with structured properties using CREATE operations.
  • Relationship Modeling: Connect entities with typed relationships that include optional properties.
  • Use Case: Build a social graph, knowledge graph, or application data model by defining entities and their connections directly in FalkorDB.

Quick Start

Use the FalkorDB skill to create user nodes and connect them with a relationship containing properties.

Frequently Asked Questions about Create nodes and relationships

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create nodes and relationships in a FalkorDB graph database?

To create nodes and relationships in a FalkorDB graph database, use Cypher CREATE operations via the GRAPH.QUERY syntax to define labeled nodes, properties, and typed relationship connections. This allows you to build connected graph structures like social or knowledge graphs.

What is graph modeling in FalkorDB and when is it needed?

Graph modeling in FalkorDB is the process of defining entities as labeled nodes and their interactions as typed relationships. It is needed when initializing application data models, such as mapping social network connections or building a knowledge graph.

How to add typed relationships with properties using Cypher in FalkorDB?

To add typed relationships with properties in FalkorDB, use Cypher CREATE operations to connect labeled nodes. You can define relationship types and attach optional properties directly within the GRAPH.QUERY syntax to map complex entity connections.

Do I need to know Cypher syntax to create graph structures in FalkorDB?

Yes, you need to understand FalkorDB GRAPH.QUERY syntax, Cypher CREATE operations, labels, and property definitions to create graph structures. This prerequisite knowledge ensures you can correctly initialize nodes and map relationships.

Can I use this approach to initialize application data models in FalkorDB?

Yes, you can use Cypher CREATE operations to initialize application data models in FalkorDB. By defining labeled nodes and typed relationships, you can directly build structured data graphs like social networks or knowledge bases.

What is the best way to structure graph data for a social network in FalkorDB?

The best way to structure a social network in FalkorDB is using Cypher CREATE operations to establish labeled user nodes and connect them with typed relationships. This approach supports adding structured properties to both nodes and relationship connections.