Skip to main content

How do I create nodes in HelixDB?

Use AddN to create new nodes in your graph with optional properties.
When using the SDKs or curling the endpoint, the query name must match what is defined in the queries.hx file exactly.

Example 1: Adding an empty user node

Here’s how to run the query using the SDKs or curl

Example 2: Adding a user with parameters

Here’s how to run the query using the SDKs or curl

Example 3: Adding a user with predefined properties

Here’s how to run the query using the SDKs or curl