What's the best way to create a customized flow graph in Unity at now?

Hi there,

Experimental.GraphView is a visual element for graph grids that you see in a lot of editor windows (ex: Shader Graph Code search results · GitHub).
But it’s marked as experimental and might change in the future.

I don’t think what you are looking for currently exists at the moment. There are several potential solutions mentioned but everything has limitations:

  • VisualScripting (Bolt) has it own graph solution but in my opinion is engineered and complex, it has a lot of weird bug and limitations that Unity probably won’t fixed. It can still be used to check how they do work with the editor window.

  • NodeGraphProcessor uses Experimental.GraphView and is not maintained anymore but I think it can be used for you;

  • NewGraph is a new library that does not rely on Experimental.GraphView and is still maintained and is probably a good fit for you too.

  • UI Node Connect 4: I don’t know about this one

The GraphTools Foundation package is the new way to do it and is maintained by Unity (https://docs.unity3d.com/Packages/com.unity.graphtools.foundation@0.11/manual/index.html). It will likely become the official solution for graphs.
Graph Tool Foundation page-2#post-8098055
Graph Tools Foundation? [ com.unity.graphtools.foundation ]
So it’s probably a good idea to take a look at that.

Unity UI Toolkit is the general solution for UI, so if you want to build something from scratch you can start there.