Skip to content

Node graph editor framework focused on data processing using Unity UIElements and C# 4.6

License

Notifications You must be signed in to change notification settings

ChuKuang/NodeGraphProcessor

 
 

Repository files navigation

NodeGraphProcessor

Node graph editor framework focused on data processing using Unity UIElements and C# 4.7

Codacy Badge openupm

Unity Compatible versions

This project requires at least Unity 2019.3 with a scripting runtime version of 4.x in player settings. The current Unity version used for the project is 2019.3.0f6

Installation

Install Manually

There are two ways to install this asset: you can use the Unity package manager or move the entire repo inside your Assets folder. To install using the package manager:

  • download this repo
  • inside the package manager click the '+' button at the bottom to add a package from disk
  • then select the package.json file located in Assets/NodeGraphProcessor
  • package is installed :)

Install via OpenUPM

The package is available on the openupm registry. It's recommended to install it via openupm-cli.

openupm add com.alelievr.node-graph-processor

Install via Git

Alternatively, you can use the git address feature in the package manager on the branch #upm, it only contains the package but it may be out of sync compared to master.

Note that you'll not have access to the examples provided in this repo because the package only include the core of NodeGraphProcessor.

Features

  • Node and Graph property serialization (as json)
  • Scriptable Object to store graph as a Unity asset.
  • Highly customizable and simple node and links API
  • Support multi-input into a container (multiple float into a list of float for example)
  • Graph processor which execute node's logic with a dependency order
  • Powerful C# API to add new nodes / graphs
  • Exposed parameters that can be set per-asset to customize the graph processing from scripts or the inspector
  • Parameter set mode, you can now output data from thegraph using exposed parameters. Their values will be updated when the graph is processed
  • Search window to create new nodes
  • Colored groups
  • Node messages (small message with it's icon beside the node)
  • Stack Nodes
  • Relay nodes

More details are available in the Changelog

Documentation

API doc is available here: alelievr.github.io/NodeGraphProcessor

The user manual is hosted using Github Wiki.

Remaining to do

  • Investigate for ECS/Jobs integration
  • More examples
  • API to create the graph
  • Subgraphs
  • Use SerializedReference instead of Json (faster serialization + smaller assets)
  • Sticky notes

For more details consult our trello.

Screens

About

Node graph editor framework focused on data processing using Unity UIElements and C# 4.6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%