- 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
16 lines
335 B
Python
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"]
|