- Consolidate all nodes into image_size_nodes.py - Embed resolution data as constants (no imports needed) - Remove complex nodes/ and utils/ directory structure - Eliminate importlib complexity from __init__.py - Follow standard ComfyUI custom node patterns This fixes all import issues by using the proven single-file approach that most successful ComfyUI custom nodes use. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
325 B
Python
11 lines
325 B
Python
"""
|
|
ComfyUI Image Size Tool
|
|
|
|
A node pack providing resolution calculators for AI image generation models.
|
|
Simple, bulletproof, zero-dependency architecture.
|
|
"""
|
|
|
|
from .image_size_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
# Export for ComfyUI
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"] |