-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Description
Problem
Links inside subgraphs are visually misaligned between Vue nodes and Subgraph IO nodes due to coordinate system inconsistency.

Root Cause
Vue nodes apply a visual transform offset of -LiteGraph.NODE_TITLE_HEIGHT
in LGraphNode.vue:34, but Subgraph IO nodes use raw canvas coordinates in SubgraphInput.ts:225-226.
Reproduction
- Enable Vue nodes (
Comfy.VueNodes.Enabled = true
) - Create subgraph containing Vue nodes
- Enter subgraph view
- Observe misaligned connections between Vue nodes and subgraph IO nodes
Solution
Update slot position calculation in useSlotElementTracking.ts to account for Vue node transform offset when calculating connection points.
Related
- Can't connect the output/input to the subgraph slot in Vue nodes. #5706 (subgraph slot connections)
- Vue nodes can't move with group #5677 (Vue node positioning issues)