mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 12:52:10 -03:00
Replaced all instances of CanvasNode with LayerForgeNode to prevent naming conflicts with the ComfyUI-YCanvas node.
22 lines
507 B
Python
22 lines
507 B
Python
import sys
|
|
import os
|
|
|
|
# Add the custom node's directory to the Python path
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from .canvas_node import LayerForgeNode
|
|
|
|
LayerForgeNode.setup_routes()
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"LayerForgeNode": LayerForgeNode
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"LayerForgeNode": "Layer Forge (Editor, outpaintintg, Canvas Node)"
|
|
}
|
|
|
|
WEB_DIRECTORY = "./js"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|