Join XY Inputs of Same Type
Join XY Inputs of Same Type
- XY_1
- XY_2
- X or Y
A small utility with one clean job: it takes two XY Input nodes of the same type and merges their values onto a single axis. Say you want a checkpoint plot that includes three anime models from one folder and two realism models you picked by hand - you build each as its own XY Input, then Join them into one combined axis. It's the "and also these" node for the Efficiency Nodes XY Plot system.
How it works
Both XY inputs feed in, and the node concatenates their value lists into one longer list of the same type, output as a single X or Y connection. It's not doing math or interpolation - it's stitching two sequences end to end. So a 3-seed batch joined with another 3-seed batch becomes a 6-value axis; a manual checkpoint list joined with a batch-folder checkpoint list becomes one combined model sweep.
The "of Same Type" in the name is the rule that matters: both inputs have to represent the same kind of thing. You can't join a CFG sweep to a steps sweep - they're different axis types and the plot wouldn't know what to do with the mix.
The inputs and outputs
XY_1andXY_2(required, both typeXY) - the two same-type inputs to merge.
Output is X or Y (type XY), which goes to the XY Plot node's X or Y input like any other XY Input node.
You can chain Joins if you need to combine three or more sources: join the first two, then join that result with a third, and so on up the chain.
The everyday case is checkpoints, since that's where the two population methods - a hand-picked list of dropdowns versus a whole folder pulled in as a batch - most often need to meet. But it works for any type: stitch a coarse CFG sweep onto a fine one to concentrate resolution where it matters, or bolt a couple of specific seeds onto an auto-generated seed batch. Anywhere you'd otherwise wish a single XY Input node could hold "these and also those," Join is the answer.
Installing it
ComfyUI Manager → search Efficiency Nodes for ComfyUI, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/jags111/efficiency-nodes-comfyui
Restart ComfyUI. No extra downloads.
Common issues
The name is doing real work - both inputs must be the same XY type. Feed it a CFG input and a checkpoint input and it won't produce a sensible plot; that's the intended constraint, not a bug. Build both halves as the same type before joining.
And the standard XY Input caveat still applies at the end of the chain: the joined output does nothing until it reaches the XY Plot node and, through it, one of the pack's Efficient KSamplers. Joining two inputs and forgetting to wire the result into the plot is the most common mistake here.
Pack-wide: if Efficiency Nodes throws IMPORT FAILED at startup (the recurring pip freeze non-zero exit that flips the whole pack off), this node disappears too. Update ComfyUI, update the node to the latest commit, and check that your Python environment is intact.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| XY_1 | XY | — | |
| XY_2 | XY | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| X or Y | XY | — |