Comfy-Org / ComfyUI_frontend

Official front-end implementation of ComfyUI
https://www.comfy.org/
GNU General Public License v3.0
583 stars 102 forks source link

[Feature Request]: Add visual indicators for inputs without wires, when the wires are hidden. #1074

Open JorgeR81 opened 1 month ago

JorgeR81 commented 1 month ago

Is there an existing issue for this?

What would your feature do ?

Now that there is a button to hide the wires ( https://github.com/Comfy-Org/ComfyUI_frontend/issues/1063 ), people will do this more often.

So it may be worth adding a visual indicator when an input has no wires.

Proposed workflow

When wires are hidden, the input dots with connections could have a different shape.

I didn't think much about the shape. This is just an example:

wires


An alternative would be showing the different shape on the inputs without wires ( e.g. a circle ) You could reuse this shape ( that is now replaced ).

I think this would probably look better than the example above.

369662253-68f41a48-806a-46fc-baa7-b2dc55b4dc12

Additional information

No response

JorgeR81 commented 1 month ago

By the way, we can still make connections with the hidden wires.

Is this an intended behavior of a bug?

This is one of the reasons why I suggested the visual indicators. Because we can unplug wires accidentally, while they are hidden.

If you want to allow this, you could also show the hidden wire while it's being dragged.  Now we only see a black dot.