rygo6 / GTLogicGraph

A generic graph made off the UIElement GraphView built into Unity.
Other
211 stars 19 forks source link

GTLogicGraph

Previe

The intent of this project is to provide a generic graph view based on the new GraphView and VisualElements system found in Unity 2018, the same systems which the new ShaderGraph are based off of.

It should be noted that this codebase is essentially a hard fork of the ShaderGraph source. It is HEAVILY based off of the ShaderGraph source code. Many sections of it are directly copied with minimal editing. I did exhaustively try to make this an extension that rests on top of the ShaderGraph source code. But unfortunately the ShaderGraph source is far too intertwined with the being a material node system rather than a generic node system. So my methodology has been to retain as much code and pattern from the ShaderGraph source as is ideal, while editing it to enable a generic graph system. Theoretically the ShaderGraph system could be reimplemented to use this as basis.

Completed or Started:

Still to do:

Installation

This repo is intended to cloned as a submodule into a unity project.

git submodule add https://github.com/rygo6/GTLogicGraph.git Assets/GeoTetra/GTLogicGraph