ComfyUI Node

Double List

A float list you can actually edit, instead of typing JSON

By hybskgks28275·Created about a year ago·Updated 2 months ago· 3
Double List
    • double list
    • count
    selection[1.0]

    List-based workflows have a chicken-and-egg problem: you need a list of values, but the only way to build one is to type the list. HYBS_DoubleList is the editing half of that story - a frontend widget that lets you add, remove, and edit floating-point rows with actual clickable fields, then hands you a proper LIST of them.

    The node starts you off with one value, 1.0, and you grow it by adding rows. Each row is a plain decimal input - no JSON, no comma counting. The author's own docs point at the pairing that makes this make sense: use Double List as a separate strength list next to the pack's LoRA List node, so each LoRA in your stack gets its own strength value from a parallel list. Same pattern applies anywhere a workflow iterates over a list of decimal parameters - CFG sweeps, denoise ladders, per-batch strengths.

    How it works

    There's one input, selection, and it's socketless - an internal JSON state string managed by the widget. You interact with it through the UI: the widget serializes your rows to that state, and the backend parses it back into floats. It's the same pattern as the pack's Int List and Diffusion Model List nodes, so if you've seen one you've seen them all.

    The widget coerces each row to a float (skipping anything that doesn't parse), which means the output list is always clean numbers - you can't smuggle a string in and break your downstream node at 2 a.m. Outputs:

    • double list (LIST) - your floating-point values
    • count (INT) - number of rows

    Installation

    Standard pack install, no special deps for this node:

    cd path/to/ComfyUI/custom_nodes
    git clone https://github.com/hybskgks28275/ComfyUI-hybs-nodes.git
    pip install -r ComfyUI-hybs-nodes/requirements.txt
    

    Or "ComfyUI-hybs-nodes" via ComfyUI Manager and restart.

    Honest sizing: this is a utility node, not a feature. You'll use it when you're building iteration workflows and need a handful of decimal parameters that are easy to edit between runs. If you're not doing list-iteration workflows yet, you don't need it - but the moment you're hand-editing a JSON array to change one strength value, you'll wish every list in ComfyUI worked this way.

    CategoryHYBS/List

    Inputs (1)

    NameTypeDefaultDescription
    selectionSTRING[1.0]Internal floating-point list state managed by the frontend widget.

    Outputs (2)

    NameTypeDescription
    double listLISTEditable floating-point values.
    countINTNumber of list entries.