Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Allow widget values to be forwarded to other nodes

Open
#2,825 3 comments 12 reactions 0 assignees View on GitHub
area:links area:widgets enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

This feature will allow the user to take the value of a manually input widget (of a node), and forward it to other nodes. Thus, no useful information is lost on a node, and can be forwarded if needed.

### Proposed workflow

See the concept image below, in which the value of the 'width' widget of the 'Empty Latent Image' node is being forwarded to the 'a' input of the 'Math Expression' node.

![Image](https://github.com/user-attachments/assets/d9f5f238-313e-44ba-8631-9a76ab0f8590)

I don't know all the output types, but even if they are capped to only the basic types, i.e. INT, FLOAT and STRING, it would still be a great.

![Image](https://github.com/user-attachments/assets/4da108fd-a88a-419f-8109-f6cbb4d3ce01)

### Additional information

This feature will not only help in decreasing nodes, and saving metadata info, but it will also minimize the vertical length of nodes where output values are already put in widgets, like 'Get Image Size' and 'Rescale/Resize Image' type nodes.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-2825-Feature-Request-Allow-widget-values-to-be-forwarded-to-other-nodes-1ab6d73d36508182bbd3cb586f6a9480) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.