MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

Graph Editor: Group nodes to create node graph

Open lfl-eholthouser opened this issue 1 year ago • 6 comments

In order to create a node graph with the MaterialX Graph Editor the user needs to create a node graph node, double click on it to dive into that node and then add nodes inside that node graph node. Nodes that already exist can only be added to a node graph node by copying or cutting and pasting. I think it would be better for the user experience if there was a hot key that would create a node graph node and add all the selected nodes to it.

lfl-eholthouser avatar Sep 16 '24 23:09 lfl-eholthouser

Hey, this is Thomas, I will be trying to tackle this issue during Dev Days :)

WaffleBoyTom avatar Sep 21 '24 18:09 WaffleBoyTom

Two notes on this:

  1. Nested node graphs are disallowed in the editor currently due to lack of support. You'll want to check that the selected nodes do not include a nodegraph otherwise this will create unsupported nesting.

  2. @lfl-eholthouser, does this also include preserving connections ? I assume to keep it simple it it may not for dev-days , but good to have clarify what the desired logic is here.

kwokcb avatar Sep 21 '24 18:09 kwokcb

@kwokcb I was imagining it would preserve connections That way if someone had created a whole graph at the same level as the surface shader, but then realized they actually wanted it in its own nodegraph that work would not have to be redone. This could be two separate issues as well. If the initial phase is tackled during dev days, a new issue can be creating for adding support for connections in the future.

lfl-eholthouser avatar Sep 23 '24 16:09 lfl-eholthouser

Hello!

Currently i'm tackling a different issue for May 2025 DevDays, but i'd like to know what tasks are remaining for this project and maybe i'd like to tackle this after DevDays if this issue isn't picked up by then. I'd like to indicate my interest here. Thanks everyone!

royashams avatar May 12 '25 17:05 royashams

Hello! Can I work on this issue for May 2025 DevDays?

camilleramseur avatar May 14 '25 20:05 camilleramseur

Will be taking a look at this for Dev Days September 2025

camilleramseur avatar Sep 23 '25 03:09 camilleramseur