Files
2026-08-30 02:03:33 -05:00

1.6 KiB

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.