This repository contains an extension to ComfyUI that introduces logic nodes and conditional rendering capabilities:
- If
- Compare
- Int, String, Float, Bool
NOTE: This extension is still in development and may contain bugs. Please report any issues you encounter. New features are in development!
- Clone this repository into the
custom_nodesfolder of ComfyUI. Restart ComfyUI and the extension should be loaded.
- Comparison Nodes: Compare two values using various comparison operators.
- Data Type Nodes: Convert and handle
Int,String,FloatandBooldata types. - Conditional Execution: Execute different nodes based on a boolean condition.
- Debugging: Print any input to the console for debugging purposes.
Compares two inputs (a and b) based on the provided comparison operator. Supported operators include:
a == ba != ba < ba > ba <= ba >= 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.
Executes the IF_TRUE node if the ANY input is True, otherwise it executes the IF_FALSE node.
Prints the provided input to the console. Useful for debugging.
- David Fischer
- GitHub: theUpsider
- Support me on BuyMeACoffee
