Buckets:
ComfyUI Logic Nodes Extension
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!
Installation
- Clone this repository into the
custom_nodesfolder of ComfyUI. Restart ComfyUI and the extension should be loaded.
Features
- 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.
Nodes
Compare
Compares two inputs (a and b) based on the provided comparison operator. Supported operators include:
a == ba != ba < ba > ba <= ba >= b
Int
Accepts an integer value and returns it.
String
Accepts a string value and returns it.
Float
Accepts a float value and returns it.
Bool
Accepts a boolean value and returns it.
If
Executes the IF_TRUE node if the ANY input is True, otherwise it executes the IF_FALSE node.
DebugPrint
Prints the provided input to the console. Useful for debugging.
Author
- David Fischer
- GitHub: theUpsider
- Support me on BuyMeACoffee
Xet Storage Details
- Size:
- 1.71 kB
- Xet hash:
- 1e3ff5f9d526e1e2cec52d31e638a3a2e6ffea748bc56ed4dc6b58d1056c9957
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.