An extension to ComfyUI that introduces logic nodes and conditional rendering capabilities.
This repository contains an extension to ComfyUI that introduces logic nodes and conditional rendering capabilities:
NOTE: This extension is still in development and may contain bugs. Please report any issues you encounter. New features are in development!
custom_nodes
folder of ComfyUI. Restart ComfyUI and the extension should be loaded.comfy node registry-install comfyui-logic
, more infos at ComfyUI RegistryInt
, String
, Float
and Bool
data types.Compares two inputs (a
and b
) based on the provided comparison operator. Supported operators include:
a == b
a != b
a < b
a > b
a <= b
a >= b
Accepts an integer value and returns it.
Accepts a string value and returns it.
Accepts a float value and returns it.
Accepts a boolean value and returns it.
Pass the value of the IF_TRUE
node if the ANY
input is True
, otherwise it passes the IF_FALSE
node.
Prints the provided input to the console. Useful for debugging.
Note: The names have a globally unique identifier: <nodename>-🔬 so dear developers please refrain from also using this name for other nodes.