comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
53.57k stars 5.67k forks source link

Show node receptor in front of all parameter for instant conversion to input #1275

Open oxysoft opened 1 year ago

oxysoft commented 1 year ago

Currently, we have to right-click a node to convert a parameter to an input, however there is actually space to display the dot in front of all widgets. Why not appear the dot when dragging a connection, or even appear dot only on matching types? This would greatly improve the productivity and iteration speed of users with the node workflow. As with any input parameter, dragging from the socket to create a node would also switch automatically from widget to input. Other nice features can be offered, such as implicitly copying the value. For example, if we create a text node and we already had text in the widget, the text can be copied to the new text widget so that we can resume our work from there, quickly externalizing some content into a different node.

Ferniclestix commented 1 year ago

This would be very useful for rapidly hooking up workflows and Ill second it.

ali1234 commented 1 year ago

+1 for this. It is how Blender does it. The connection dot is always visible and if you connect something to it, the widget is simply hidden.