Nodes/ComfyUI-Artha-Nodes/🔱 Artha Logic Basic
ComfyUI Node

🔱 Artha Logic Basic

The simplest way to get a Boolean into your graph

By Cyrostar·Created 10 months ago·Updated 8 months ago· 0
🔱 Artha Logic Basic
    • state
    â—„statetrueâ–º

    Artha Logic Basic is the 🔱 Artha pack's on/off switch: a true/false dropdown that outputs a Boolean. That's the entire node - one combo, one Boolean output, no inputs to wire. It exists because ComfyUI's built-in value nodes lean heavily on primitives that don't always hand you a clean Boolean for the logic-chain nodes, and the Artha Logic family expects a proper Boolean to talk to.

    It reads as almost insultingly simple, but it's the foundation piece. Combined with the pack's gate and compare nodes, a couple of these let you build real conditionals into a workflow - "run the upscale branch only when this flag is on" - which is how you graduate from one-shot generation to actual pipelines.

    How it works

    There's nothing to it. The state combo is a true/false dropdown (default true), and on execution the node converts it to a Python bool and emits it on the single state output (BOOLEAN). It's a constant source - a battery, not a wire - so you set it once and downstream logic reads it.

    The only thing to know

    • state - true or false, default true. That's the whole interface.

    Output: state (BOOLEAN), which feeds directly into other Artha logic nodes (gate, compare, passthru) or any Boolean input elsewhere.

    Installing it

    Part of the one-pack Artha install:

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

    restart ComfyUI, or search "ComfyUI-Artha-Nodes" in ComfyUI Manager. No API key, no models, no dependencies beyond the pack's baseline - it's one dropdown and a bool.

    Common issues

    • Nothing to connect it to: a lone Boolean doesn't do anything by itself. Pair it with a logic consumer (gate, compare, or a conditional branch) - the node is a source, not a terminal.
    • Expecting it to toggle at runtime: it won't. It's a static value; if you want runtime-controlled Booleans you need an actual conditional upstream.

    That's the whole review. If you've built logic chains in ComfyUI before, this node is the thing you reach for when every other primitive is an Int or a String and you just need True to flow into an AND gate. Boring on purpose.

    CategoryArtha/Logic

    Inputs (1)

    NameTypeDefaultDescription
    stateCOMBOtrue2 options: true, false

    Outputs (1)

    NameTypeDescription
    stateBOOLEAN—