Adds a new node that lets users dynamically add/remove image input slots via +/- buttons, with per-slot toggle switches to include or exclude images from the output batch — similar to rgthree's Power Lora Loader UX. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
676 B
Python
22 lines
676 B
Python
"""ComfyUI DD Nodes - Custom nodes for ComfyUI by Digital Divas."""
|
|
|
|
from .nodes.text_nodes import (
|
|
NODE_CLASS_MAPPINGS as TEXT_NODES,
|
|
NODE_DISPLAY_NAME_MAPPINGS as TEXT_NAMES,
|
|
)
|
|
from .nodes.image_nodes import (
|
|
NODE_CLASS_MAPPINGS as IMAGE_NODES,
|
|
NODE_DISPLAY_NAME_MAPPINGS as IMAGE_NAMES,
|
|
)
|
|
from .nodes.math_nodes import (
|
|
NODE_CLASS_MAPPINGS as MATH_NODES,
|
|
NODE_DISPLAY_NAME_MAPPINGS as MATH_NAMES,
|
|
)
|
|
|
|
NODE_CLASS_MAPPINGS = {**TEXT_NODES, **IMAGE_NODES, **MATH_NODES}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {**TEXT_NAMES, **IMAGE_NAMES, **MATH_NAMES}
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|