ComfyUI Node

Boolean To Enabled

The tiny bridge for ComfyUI_NetDist's odd string format

By robertvoy·Created 2 years ago·Updated 9 months ago· 239
Boolean To Enabled
    • enabled
    BOOLEAN

    Somewhere in the Flux Continuum pack's distributed-generation story, a boolean needs to become a string, and this is the node that does it. Boolean To Enabled converts a BOOLEAN into the "true"/"false" string format that ComfyUI_NetDist expects for its enabled flags - one of those glue nodes that exists because two systems disagree about a data type, and someone got tired of retyping it.

    How it works

    The source is three lines: "true" if BOOLEAN else "false". The output type is declared as an enum of ["true", "false", "remote"] - the node itself only produces the first two, but the type declares the full set NetDist uses, so wiring is type-safe against the remote option too. That's the whole mechanism: boolean in, string out, no state, no settings.

    It's part of the pack's effort to make ComfyUI_NetDist (multi-machine queueing) work cleanly with the Flux+ workflow - the README's roadmap even mentions multi-GPU support coming down the line. If you're not using NetDist, this node will never be on your radar, which is fine.

    Inputs and outputs

    • BOOLEAN - one required boolean (a toggle input).

    Output is one enabled value, the string "true" or "false". Wire it to the NetDist flag that expects that format.

    Installing it

    Bundled with robertvoy/ComfyUI-Flux-Continuum:

    cd ComfyUI/custom_nodes
    git clone https://github.com/robertvoy/ComfyUI-Flux-Continuum
    

    or ComfyUI Manager ("Flux Continuum"), restart. The node itself has no dependencies; actually using it meaningfully requires ComfyUI_NetDist installed.

    Honest take

    This is the most niche node in the pack. Unless you're distributing generation across machines with NetDist, you have no use for it - and if you are, it's a one-second convenience that saves you from wiring a boolean into a string-typed input and getting a type error. Know it exists for when the Flux Continuum's distributed features show up, and otherwise move on.

    CategoryFlux-Continuum/Utilities

    Inputs (1)

    NameTypeDefaultDescription
    BOOLEANBOOLEAN

    Outputs (1)

    NameTypeDescription
    enabledtrue,false,remote