miroiu / nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.
https://miroiu.github.io/nodify
MIT License
1.27k stars 205 forks source link

[Question] Connection Behind Grouping Nodes #71

Closed Captain-Bubble closed 10 months ago

Captain-Bubble commented 11 months ago

Hi! First of all: Thanks for Sharing this Awesome Node Editor!!!

Now to the question:

Somehow i Cant get the Connection to be above a Group-node. As soon as i add a Group i Cant hover over a connection to disconnect it with ALT+Click.

This behavior is in the Playground example by grouping some nodes together and connecting them.

I know, there is an option to display all Connections on Top, but then the Connections are above every Node, which can look weird in some cases.

Is there a way to get the connection "between" the Grouping nodes and the other nodes?

miroiu commented 11 months ago

Hi,

Unfortunately, it isn't possible because the GroupingNode lives in the nodes Panel which is a different Panel than the connections. And changing its ZIndex only applies to the containing Panel.