Comfy-Org / ComfyUI_frontend

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

[Feature Request]: User Specific Hiding of Nodes #628

Open Amorano opened 3 weeks ago

Amorano commented 3 weeks ago

Is there an existing issue for this?

What would your feature do ?

Allow the user to hide any/all nodes they do not wish to see in any of the node "results" such as the node tree or node filter(s).

Proposed workflow

  1. Right-click nodes in tree graph
  2. Select hide
  3. Node is hidden

Additional information

In the node tree there should be a three mode filter: Normal, With Hidden, Hidden.

Normal is with all hidden nodes removed from the tree display. They are not found in the filter bar search.

All shows all the nodes, with the hidden nodes marked with a separate style to denote they are hidden. They show in the filter search.

Hidden shows the full list of nodes -- without "active nodes" -- such that a clean list of "hidden nodes". They are the only nodes searched in the filter search.

This filter button should also apply to the filter search when connecting or making new nodes on the canvas.

VykosX commented 3 weeks ago

This is a much needed feature, with the sea of redundant and similar nodes added by custom node packs things can get overwhelming and confusing very quickly. Ideally, a button to quickly hide a node could be added to the right of the node entry both in the sidebar search and the double click canvas search, in addition to right clicking nodes as suggested above.

Then they can be unhidden through the sidebar. An even better system would allow for the user to disable/skipping loading nodes altogether, but if that has a chance to introduce issues then simply hiding them from the search results would already be greatly appreciated!