ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Feature Request - Save group as template | Collapse group

Open CHollman82 opened this issue 1 year ago • 14 comments

I love the new feature to save node templates... it seems like it would be very easy and very useful to be able to right-click a group box and select "save as template" to create a template with that group and every node in it, including connections. I setup group boxes as if they were programming functions, using reroute nodes as input and output connections, and this would be extremely useful to me:

image

Also, being able to collapse a group box like you can collapse a node box would be great as well.

CHollman82 avatar Nov 06 '23 08:11 CHollman82

Also it would be nice to add the functionality to select the group when doing a selection, since they get ignored. But yeah the implementation of the templates with groups would be handy

tonynoce avatar Nov 06 '23 13:11 tonynoce

bump for this, it would be really useful

fogostudio avatar Dec 06 '23 03:12 fogostudio

Me too. Please.

dinmakers avatar Dec 13 '23 16:12 dinmakers

Came here looking to see if this was ever addressed. Not yet I guess? Grouping is used in other functionality, like with rgthree's Fast Groups Muter, which is in my opinion, essential for multi-functional workflows. Groups are also so handy for visual organization, and selecting all associated nodes easily and without question as to whether you got them all or not. In addition to the export selection, they most definitely should be part of templates themselves, at least optionally.

Jellybit avatar Dec 24 '23 03:12 Jellybit

I second this. The template function is handy, but being able to save them in groups would be a lot more convenient. The whole process of making groups, sizing them, titling them, and color coding them is pretty tedious, so any opportunity to avoid it seems really worthwhile.

brbbbq avatar Dec 31 '23 01:12 brbbbq

Yeah, Save Group As Template is really missing. Am I overlooking something, or it wasn't adressed yet? It is possible to save nodes as a template and in each workflow used put them in their groups again and again.... but it would be nice to just load the template WITH a group, instead of each time re-do .... if it isn't adressed by comfy annonymous, did someone do it custom-node-ly...?

123LiVo321 avatar Jan 22 '24 08:01 123LiVo321

I second this! Also it'd be cooler if there's something like a library where I can save my partial workflows globally.

DefinitlyEvil avatar Jan 30 '24 17:01 DefinitlyEvil

I absolutely agree. "Convert to Group Node" is a wonderful feature, but since we cannot re-use those groups in more than one workspace it isn't all that useful. However, the combination of "convert to group node" and the ability to save it as a template would be game changer.

DaveMayfield avatar Feb 18 '24 18:02 DaveMayfield

Wouldn't it be possible to save the group with its content and when importing it recover the group with its content ? That might helps a lot to build "meta-nodes" with connectors pipe style.

Patrick-81 avatar Feb 23 '24 20:02 Patrick-81

While we wait for this, there is workaround, with a node suite, for saving / loading group as template.

https://github.com/comfyanonymous/ComfyUI/discussions/2936#discussioncomment-8803615

JorgeR81 avatar Mar 15 '24 15:03 JorgeR81

I was just wondering about it myself. +1 on this.

tarkansarim avatar Apr 16 '24 15:04 tarkansarim

still not possible... ?

BenDes21 avatar Jun 19 '24 07:06 BenDes21

A must-have!

jffaust avatar Jul 21 '24 18:07 jffaust

Will be this thing (save a group) finally possible in the new UI version? please, PLEASE, PLEASEEEEEEEEEEE ... xD

123LiVo321 avatar Aug 03 '24 19:08 123LiVo321