[Subgraph] Primitive and Int nodes can't link to subgraph widget.
Primitive and Int nodes can't link to subgraph widget
Version: FE 1.29.1
https://github.com/user-attachments/assets/7938e04f-36f8-4c95-b7f1-6cd41ca77466
Version: main branch
https://github.com/user-attachments/assets/e592b1e1-bd9d-4051-9fe0-c0a2bd9bbe7c
┆Issue is synchronized with this Notion page by Unito
This is a known limitation in both FE 1.29.1 and the main branch. Primitive and Int nodes can't link to subgraph widgets because subgraph primitive inputs are currently always widgets, and the linking logic only allows connections if the input exposes a widget or a recognized widget type. If the subgraph input doesn't match, the connection is rejected. This is not a hardcoded block, but a result of type and widget metadata checks in the frontend code. There are ongoing feature requests to allow toggling primitive subgraph inputs between widget and pure input modes, but this isn't implemented yet [source].
Workarounds: you can sometimes fix the issue by recreating the int node after conversion, or by using a reroute node as an intermediary between the subgraph input and the node input [source]. Manual repair (like editing the workflow JSON) is also possible if widget links are lost during subgraph conversion.
For more technical details, see the related issues and code references:
- Primitive nodes not detecting subgraph input
- Primitive type subgraph input limitations
- Widget links lost on subgraph conversion
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
I have also encountered many problems with the new UI, for example:
- Nodes do not update automatically (generated images do not refresh).
- The node interaction box does not adapt to the width of the node frame, so the full model name, etc., cannot be displayed.
- Nodes reset their width and height; I don't want opening a workflow to reset the width and height of the nodes.
- Dragging and dropping nodes is now very troublesome (as shown in the video above).
- Many nodes cannot be used normally, such as the "Set Point" node.
- And various other display issues.
@zpengcom thank you. Please continue to report any issues you discover. We will fix them all in the coming weeks.
I'm not having any luck reproducing the originally reported issue. The video does not depict a socket on the width and height widget. Are these widgets linked inside the subgraph? or are they promoted with the purple border?
https://github.com/user-attachments/assets/2eca9d8c-6a90-41fd-9fd4-4989638189ca
Sorry for not following up on this issue for the past two weeks.
- Only the widgets promoted with a purple border are not working correctly, while the linked ones work normally.
- Tested on main branch, cloud, latest stable, I was able to reproduce the same issue with the workflow I attached below