The node graph editor for the web

ngraph is a declarative, batteries-included, Blender-style node graph editor for React, built on xyflow.

$ npm install reactflow @clarkmcc/nodegraph

Develop faster

Easily add a node graph to your app

The best node graph engines are only available as part of advanced (and often closed-source) 3D modeling software like Unreal Engine, or Blender. ngraph brings a comparable feature set to the web.

Declarative by default

Using just a few lines of JSON configuration, you can easily and rapidly define custom types, colors, and nodes.

Batteries included

This library tries to provide the most common features you need including copy/paste and builtin automatic layout engines.

Extensible

All of the xyflow properties are available for you to customize to your heart's content.

Features

Out-of-the-box inputs

Rapidly build your own nodes with a variety of built-in inputs including text/number inputs, dropdowns, checkboxes, button groups.

Features

Array inputs

Easily convert any input into an array input. Array inputs accept any number of connections as long as the types match.

Features

Multiple handle shapes

Pick from a variety of handle shapes including circle, diamond, and diamond + dot.

Features

Input Groups

Sometimes nodes get large and unwieldy. Input groups allow you to collapse and expand groups of inputs to keep your nodes organized.