Files
RyanOnTheInside a5fb650ae2 Initial release: interactive calculator node for ComfyUI
- Full calculator UI rendered inside a single node (basic & scientific modes)
- Variable inputs (A, B, C) connectable from other nodes
- Outputs float, int, and string results
- Includes Int to Float utility node
2026-02-13 08:34:21 -05:00

16 lines
335 B
Python

from .nodes import Calculator, IntToFloat
NODE_CLASS_MAPPINGS = {
"Calculator": Calculator,
"IntToFloat": IntToFloat,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"Calculator": "Calculator",
"IntToFloat": "Int to Float",
}
WEB_DIRECTORY = "./js"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]