Better internal names for BOOLEAN functions (breaking change)

Rename CATEGORY "Flow Control" to "flow control" and "data list" to "Data List" and "path" to "Path"
Add creation nodes for Data List, LIST and SET
Add creation nodes for FLOAT and INT, the later also with different bases
Optimize math input widgets to prevent rounding
This commit is contained in:
StableLlama
2025-05-17 23:30:32 +02:00
parent d506487d55
commit b8d2062e75
11 changed files with 642 additions and 182 deletions
+12 -12
View File
@@ -145,19 +145,19 @@ class BooleanXor(ComfyNodeABC):
NODE_CLASS_MAPPINGS = {
"Basic data handling: BooleanAnd": BooleanAnd,
"Basic data handling: BooleanNand": BooleanNand,
"Basic data handling: BooleanNor": BooleanNor,
"Basic data handling: BooleanNot": BooleanNot,
"Basic data handling: BooleanOr": BooleanOr,
"Basic data handling: BooleanXor": BooleanXor,
"Basic data handling: Boolean And": BooleanAnd,
"Basic data handling: Boolean Nand": BooleanNand,
"Basic data handling: Boolean Nor": BooleanNor,
"Basic data handling: Boolean Not": BooleanNot,
"Basic data handling: Boolean Or": BooleanOr,
"Basic data handling: Boolean Xor": BooleanXor,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"Basic data handling: BooleanAnd": "and",
"Basic data handling: BooleanNand": "nand",
"Basic data handling: BooleanNor": "nor",
"Basic data handling: BooleanNot": "not",
"Basic data handling: BooleanOr": "or",
"Basic data handling: BooleanXor": "xor",
"Basic data handling: Boolean And": "and",
"Basic data handling: Boolean Nand": "nand",
"Basic data handling: Boolean Nor": "nor",
"Basic data handling: Boolean Not": "not",
"Basic data handling: Boolean Or": "or",
"Basic data handling: Boolean Xor": "xor",
}