Files
LyAhn e41eccf1a9 Initial commit: Image Aspect Size and Multi Switch nodes
- ImageAspectSize: reads input image dimensions and outputs width/height
  scaled to a target longest-side, snapped to multiples of 8, with a
  flip toggle for portrait/landscape rotation
- MultiSwitch: any-type switch node with dynamic slot pairs (JS-driven
  add/remove), colour-coded active/inactive sides, and clean labelling
2026-06-01 02:18:04 +01:00

17 lines
423 B
Python

from .nodes.image_aspect_size import ImageAspectSize
from .nodes.multi_switch import MultiSwitch
NODE_CLASS_MAPPINGS = {
"ImageAspectSize": ImageAspectSize,
"MultiSwitch": MultiSwitch,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ImageAspectSize": "Image Aspect Size",
"MultiSwitch": "Multi Switch",
}
WEB_DIRECTORY = "./js"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]