Set up the ComfyUI custom nodes package with text, image, and math utility nodes including text concatenation/replace/display, image resize/batch/size, and integer/float math operations with type conversions. Includes package entry point and updated README. https://claude.ai/code/session_01PdwEaTFxk45a8FjpqWqZbK
22 lines
675 B
Python
22 lines
675 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 = "./js"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|