Sign In

【SIMPLE】IF_branch_node | ComfyUI | Workflow | asset | tool

6
77
4
Updated: Apr 1, 2024
toolworkflow
Type
Workflows
Stats
77
Reviews
Published
Apr 1, 2024
Base Model
SD 1.5
Hash
AutoV2
E8663093FB

A simple conditional branch node.

シンプルな条件分岐ノードです。

###main node ###

https://github.com/theUpsider/ComfyUI-Logic

Features

  • Comparison Nodes: Compare two values using various comparison operators.

  • Data Type Nodes: Convert and handle Int, String, Float and Bool data 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 == b

  • a != b

  • a < b

  • a > b

  • a <= b

  • a >= 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.