Comfy-Org / Comfy-Org/ComfyUI_frontend

Re-routing from higher level outputs inside subgraphs are not correctly connected

Open
#6,392 1 comment 0 reactions 0 assignees View on GitHub
area:subgraph Frontend Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Random connections when rerouting from main graph inputs inside subgraphs. See example. Several reroutes are connected from one input, and the connections are not connected properly.

Image

### Actual Behavior

Connections are randomly connected to any of the available inputs from the main graph.

### Steps to Reproduce

Create any basic subgraph with multiple inputs connecting to he main graph.

### Debug Logs

```powershell
N/A
```

### Other

_No response_

---

*Transferred from: https://github.com/comfyanonymous/ComfyUI/issues/10492*

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6392-Re-routing-from-higher-level-outputs-inside-subgraphs-are-not-correctly-connected-29c6d73d3650817d987de117fddfc82c) 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.