Extensions/DD-LogicNodes
ComfyUI Extension

DD-LogicNodes

A collection of Logic Nodes that I think are missing in core ComfyUI.

By dumbdemon·Created 6 months ago·Updated 5 days ago· 0
dumbdemon/DD-LogicNodes
Nodes19
On cloudLocal install
CategoryDD Logic Nodes/Logic Gates, DD Logic Nodes/Getters
Stars0
Updated5 days ago

Nodes (19)

DD And Gate

The \"everything's ready, go\" check

DD Logic Nodes/Logic Gates
DD And Getter

The AND gate that hands you a value, not just a true/false

DD Logic Nodes/Getters
DD Contains

ComfyUI's missing `in` operator, plus the number trap you'll hit

DD Logic Nodes/Logic Gates
DD Either

\"whichever input actually has a value wins\"

DD Logic Nodes/Getters
DD Either Choice

A two-way switch with a toggle that actually says what it's for

DD Logic Nodes/Getters
DD If Any Getter

\"did anything actually arrive?\" as a branch condition

DD Logic Nodes/Getters
DD NAND Gate

The \"everything except both-true\" gate

DD Logic Nodes/Logic Gates
DD NAND Getter

Fall back only when both conditions are true

DD Logic Nodes/Getters
DD NOR Gate

The \"neither condition is true\" check

DD Logic Nodes/Logic Gates
DD NOR Getter

The \"take the good path when nothing's true\" router

DD Logic Nodes/Getters
DD XNOR Gate

The \"both conditions agree\" check

DD Logic Nodes/Logic Gates
DD XNOR Getter

Route on whether two conditions agree

DD Logic Nodes/Getters
DD XOR Gate

The \"exactly one, never both\" condition

DD Logic Nodes/Logic Gates
DD XOR Getter

Pick the exclusive mode, skip the other branch

DD Logic Nodes/Getters
DD Not Gate

The one-input inverter that's harder to live without than it looks

DD Logic Nodes/Logic Gates
DD Number Compare

Turning a number into a yes/no you can wire

DD Logic Nodes/Logic Gates
DD Or Gate

\"any of these is enough\"

DD Logic Nodes/Logic Gates
DD Or Getter

The if/then you'll actually use every day

DD Logic Nodes/Getters
DD Rerouter

A switch that actually stops the other branch from running

DD Logic Nodes/Helper Nodes
Readme

DD-LogicNodes

A collection of Logic Nodes that I think are missing in core ComfyUI.

Incomplete Yet Complete

This currently has 18 nodes.

Logic

  • DD If Not
    • Returns a flipped boolean.
  • DD Or Gate
    • Returns true if either expression is true.
  • DD And Gate
    • Returns true only if both ezpressions are true.
  • DD XOR Gate
    • Returns true only if one expression is true.
  • DD NOR Gate
    • Returns true only if both ezpressions are false.
  • DD NAND Gate
    • Returns true except when both expressions are true.
  • DD XNOR Gate
    • Returns true if both expresions are true or if both expresions are false.
  • DD Contains
    • Returns true if any the source has any of the attached items (Strings, Ints, of Floats).

Logical Getters

  • DD If Any Getter
    • Returns on_true if any value is passed through.
  • DD Or Getter
    • Returns on_true if the expression is true.
  • DD And Getter
    • Returns on_true only if both ezpressions are true.
  • DD XOR Getter
    • Returns on_true only if one expression is true.
  • DD NOR Getter
    • Returns on_true only if both ezpressions are false.
  • DD NAND Getter
    • Returns on_true except when both expressions are true.
  • DD XNOR Getter
    • Returns on_true if both expresions are true or if both expresions are false.
  • DD Either
    • Returns if_any if it has an input; otherwise, it returns ANY.
  • DD Either Chioce
    • Returns on_true if true.

Logic Helpers

  • DD Rerouter
    • Allows you to change where something is routed.