ComfyUI Node

XListToPipe

Throw your list onto the XPipe bus

By Xz3r0-M·Created 8 months ago·Updated about 6 hours ago· 13
XListToPipe
  • list_input
  • xpipe_out
count_display1
count0

XPipe is this pack's big-bundle concept: instead of dragging fifty wires across the canvas, you push a whole group of named slots down a single connection, the way rgthree's Context nodes collapse a bundle of wires into one. The catch is that XPipe deals in bundles, not lists - and lists are what the rest of the pack likes to produce. XListToPipe is the bridge between the two worlds: it takes a plain list and packs it into a valid XPipe bundle so it can ride the XPipe family (XPipe, XPipeGate, XPipeRecursive) through the rest of the graph.

How it works

The list_input takes any list - XListCreate's list output, or XListRestore's, or any list wire you have lying around. The node fills bundle slots 1 through N with the list items, up to 50 slots, and leaves any slot past the end as None. One xpipe_out comes out: a proper XPipe bundle with names and values, ready for the next XPipe-family node.

How many slots the bundle gets is controlled the same way XListPull does it:

  • count_display - the manual field, 1 to 50.
  • count - a connectable port that overrides the field. Hook up XListCreate's count (or XListRestore's, which includes empty slots) and the bundle sizes itself automatically.

Leave list_input unconnected and you still get a valid, empty bundle - handy if you want to build one up slot by slot downstream.

Why it's worth knowing

The honest take: if you never use XPipe nodes, this node is pointless - it just changes a list's representation. But the moment you commit to XPipe for a big workflow, the friction point is exactly this conversion, and this node is the piece that makes lists and bundles interoperate instead of forcing you to rebuild everything by hand. It also pairs cleanly with XListRestore's count, because that count includes the empty slots you'll want the bundle to carry.

Installing it

XListToPipe ships in ComfyUI-Xz3r0-Nodes (by Xz3r0-M) under ♾️ Xz3r0/Workflow-Processing. ComfyUI Manager: search ComfyUI-Xz3r0-Nodes and install. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/Xz3r0-M/ComfyUI-Xz3r0-Nodes.git
cd ComfyUI-Xz3r0-Nodes
pip install -r requirements.txt

Restart ComfyUI after. No models, no heavy deps - plumbing only. Just remember the 50-slot ceiling and that empty slots travel as None; anything downstream that can't handle None will notice the tail.

Category♾️ Xz3r0/Workflow-Processing

Inputs (3)

NameTypeDefaultDescription
count_displayINT11–50How many slots the bundle has. Auto-disabled when the count port is connected; otherwise set it manually here.
list_inputoptCOMFY_MATCHTYPE_V3The list to put into the bundle. Connect XListCreate's list output or any other list here. Leave unconnected to create an empty bundle.
countoptINT00–50Sets how many slots the bundle has. Connect XListCreate's count (or any number) here; leave unconnected to use the number field above.

Outputs (1)

NameTypeDescription
xpipe_outxpipeThe XPipe bundle holding your list items in slots 1..N (max 50). Empty slots are None. N follows the count input.