D2 XY List To Plot
The adapter that turns any LIST into something an XY plot can eat
- LIST
- x / y_list
The D2 XY Plot family speaks one dialect: newline-separated text in an x / y_list field. But a lot of other nodes speak "list" - arrays of prompts, seeds, filenames, anything. D2 XY List To Plot is the two-cent adapter that bridges them: LIST in, x / y_list text out.
That's the entire job. It joins whatever list you hand it with line breaks so you can paste it into an x_list or y_list input on D2 XY Plot, D2 XY Plot Easy, or D2 XY Plot Easy Mini. If you already have list-producing nodes in your workflow (the pack's own D2 Multi Output, D2 XY Seed, taggers, or a text-splitter from another pack), this saves you from copying values into the plot by hand.
The input and output
LIST- any array input. That's it.x / y_list- the same values, newline-joined, ready for an XY Plot.
The one real caveat
The join is naive - literally "\n".join(list). If any item in the list contains a line break, the plot will see it as two items and your XY grid gets misaligned. That's exactly why the pack also ships D2 XY String To Plot: it exists for text that contains line breaks, like whole multi-line prompts. So the rule of thumb:
- Simple one-per-line values (seeds, filenames, tag names) →
D2 XY List To Plotis perfect. - Whole prompts with internal line breaks → use
D2 XY String To Plotinstead.
Also keep types in mind on the other end. The plot node needs to know what the values are - if you're feeding strings, set x_type/y_type to STRING there, not INT or FLOAT, or the type conversion will throw.
Installing
Part of the D2-nodes-ComfyUI pack - install the pack, not the node.
- ComfyUI Manager → search "D2-nodes-ComfyUI" → Install → restart.
- Or
cd ComfyUI/custom_nodes && git clone https://github.com/da2el-ai/D2-nodes-ComfyUIand restart.
Dependencies: piexif, charset-normalizer - nothing heavy, no model downloads. Pack gotcha: v32.0.0+ needs the newer ComfyUI V3 schema; older ComfyUI → pre-32.0.0 release.
Bottom line
It's a boring node with one input and one output, and that's the point. Boring adapters are what let you compose bigger things without rebuilding them. If you find yourself manually copying a list of values into an XY plot more than once, this is the node that ends the habit - unless your values have line breaks in them, in which case see above.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| LIST | LIST | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| x / y_list | STRING | — |