ComfyUI Node

SimpleList

SimpleList

By jessesep·Created 9 months ago·Updated 2 months ago· 0
SimpleList
    • list

    SimpleList is the debug tool of the SimpleVariables pack, and honestly it's the node you'll appreciate most the first time something goes wrong. It has no inputs at all. You drop it on the canvas, run it, and it shows every variable currently stored by the pack - one line per entry, name and type - as a preview right on the node. Its list output is a plain string you can wire to a text display node if you want it in the graph itself.

    You reach for it in the situations that usually waste an hour:

    • Your SimpleGet says NOT SET but you're certain you stored the value. Run a SimpleList and see the actual stored names - nine times out of ten it's a typo or a case mismatch (ref vs Ref).
    • You suspect a stale value from an earlier run is polluting results. List shows you what's actually sitting in the store.
    • You're inheriting someone else's workflow and want to know which names the graph depends on before you touch anything.

    How it works. It reads the same shared in-memory dictionary the whole pack uses and formats each entry as name = Type, so you might see ref = Tensor, seed = int, prompt = str. If the store is empty it reports (no variables). That's the entire mechanism - there's nothing clever going on, which is exactly what you want from a diagnostic node.

    The limitation to know about. It lists names and types only, not values. You'll see that prompt = str exists, but not what the string contains. That's a deliberate trade-off in the pack (the Set and Get nodes show full previews individually); if you need to inspect an actual value, wire a SimpleGet for that name into something that displays it. Also remember the store is per-session: SimpleList only shows what's been Set since you last started ComfyUI, so an "empty" list doesn't mean your values were deleted - it means nothing has been stored yet in this run.

    Because it's a variable-state dashboard, it also doubles as a cheap way to confirm your Sets are actually executing. Run your Set, then run a List: if the entry appears, Set ran; if not, your Set isn't executing at all, and you're usually looking at a bypassed node or a broken connection rather than a variable problem.

    Install. Same story as the rest of the pack - no dependencies, no models, pure Python.

    cd ComfyUI/custom_nodes
    git clone https://github.com/jessesep/SimpleVariables.git
    

    Restart ComfyUI, search "variable", and drop SimpleList into any workflow that uses SimpleSet. It won't do anything until you run the graph, and it won't change a thing about your outputs - it just tells you the truth about what's stored. Given how invisible named state can be, that's more useful than it sounds.

    CategorySimpleVariables

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    listSTRING