Comfy-Org / Comfy-Org/ComfyUI

Add distinction between AND and OR logic nodes

Open
#14,272 1 comment 1 reaction 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Feature Idea

With the addition from #14004 , the AND and OR nodes are indistinguishable at a glance. Both use the same input and output names and default values, and if the node name is changed it becomes difficult to distinguish what the expected boolean output is doing.

Most other nodes have widgets or distinct outputs that make it clear what function the node is performing, especially once someone learns to visually identify nodes. AND and OR are carbon copies of the other, however, except for the differing internal logic.

Suggest that the AND and OR are combined with a widget selector between the logic, which could remain visible to distinguish them even when the title changes. Or another method is used to distinguish these very similar nodes, like tooltips on the output boolean slot.

### Existing Solutions

Obviously, users could simply be trusted to retain the AND or OR nature of the node when changing name, or rename the output slot. This may be naive when workflows using these nodes are used in shared workflows or future templates.

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.