Siccity / xNode

Unity Node Editor: Lets you view and edit node graphs inside Unity
MIT License
3.32k stars 585 forks source link

Auto Format Node Graphs #259

Closed stefnotch closed 4 years ago

stefnotch commented 4 years ago

Problem Manually laying out node graphs takes a while. Furthermore, many people just skip doing it. So, you can end up with node graphs like this one or worse (this one is actually reasonably neat)

https://twitter.com/jazzmickle/status/1227010568198000642/photo/1

Suggested Solution The ability to select a few nodes and then Auto Format them would be really neat. I would be willing to create a PR that implements this.

Additional Info It's not entirely clear how the nodes should be formatted and what sort of formatting rules they should obey. To get the discussion started, a possible algorithm would be the Sugiyama method and/or some possible formatting rules would be the ones outlined in this tweet.

Siccity commented 4 years ago

This could entirely be an add-on, maintained separately from the core system.

stefnotch commented 4 years ago

For what it's worth, I've started implementing it entirely separately from xNode over here

Siccity commented 4 years ago

Nice! I added a link to your repo in the wiki