23 lines
690 B
Python
23 lines
690 B
Python
# Import both node classes from our logic files
|
|
from .main import SuperCreateTiles
|
|
from .main import SuperUntile
|
|
|
|
# A dictionary that maps the node's internal name to its class
|
|
NODE_CLASS_MAPPINGS = {
|
|
"SuperCreateTiles": SuperCreateTiles,
|
|
"SuperUntile": SuperUntile,
|
|
}
|
|
|
|
# A dictionary that maps the node's internal name to its display name in the UI
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"SuperCreateTiles": "🐧 Super Create Tiles",
|
|
"SuperUntile": "🐧 Super Untile",
|
|
}
|
|
|
|
# A print statement to show when the nodes are loaded
|
|
print("\033[34m[SuperComfyNodes]\033[0m: Loaded nodes.")
|
|
|
|
# This is required by ComfyUI
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
|
|