DD-LogicNodes
A collection of Logic Nodes that I think are missing in core ComfyUI.
Nodes (19)
The \"everything's ready, go\" check
The AND gate that hands you a value, not just a true/false
ComfyUI's missing `in` operator, plus the number trap you'll hit
\"whichever input actually has a value wins\"
A two-way switch with a toggle that actually says what it's for
\"did anything actually arrive?\" as a branch condition
The \"everything except both-true\" gate
Fall back only when both conditions are true
The \"neither condition is true\" check
The \"take the good path when nothing's true\" router
The \"both conditions agree\" check
Route on whether two conditions agree
The \"exactly one, never both\" condition
Pick the exclusive mode, skip the other branch
The one-input inverter that's harder to live without than it looks
Turning a number into a yes/no you can wire
\"any of these is enough\"
The if/then you'll actually use every day
A switch that actually stops the other branch from running
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_trueif any value is passed through.
- Returns
- DD Or Getter
- Returns
on_trueif the expression is true.
- Returns
- DD And Getter
- Returns
on_trueonly if both ezpressions are true.
- Returns
- DD XOR Getter
- Returns
on_trueonly if one expression is true.
- Returns
- DD NOR Getter
- Returns
on_trueonly if both ezpressions are false.
- Returns
- DD NAND Getter
- Returns
on_trueexcept when both expressions are true.
- Returns
- DD XNOR Getter
- Returns
on_trueif both expresions are true or if both expresions are false.
- Returns
- DD Either
- Returns
if_anyif it has an input; otherwise, it returnsANY.
- Returns
- DD Either Chioce
- Returns
on_trueif true.
- Returns
Logic Helpers
- DD Rerouter
- Allows you to change where something is routed.