- Add pyproject.toml for ComfyUI registry with project metadata - Add requirements.txt placeholder - Remove premature WEB_DIRECTORY (no JS extensions yet) - Standardize all node FUNCTION names to "execute" for consistency - Clean up input type definitions (remove unnecessary min/max bounds) - Move math import to module level - Rename "replace" param to "replace_with" to avoid shadowing builtin - Tighten README with table format https://claude.ai/code/session_01PdwEaTFxk45a8FjpqWqZbK
20 lines
634 B
Python
20 lines
634 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}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|