25 lines
1022 B
Python
25 lines
1022 B
Python
"""Switchboard - advanced group/node controllers + boolean utilities for ComfyUI.
|
|
|
|
Two kinds of nodes ship here:
|
|
|
|
- **Group Controller / Node Controller** - client-side ("virtual") LiteGraph
|
|
nodes in ``js/switchboard.js``. They never execute on the server; they just
|
|
toggle node modes (active/bypass/mute) in the browser graph.
|
|
- **Value on Boolean / Boolean Switch** - real backend nodes in ``nodes.py``
|
|
that move data at runtime, so users get boolean->value and conditional
|
|
routing without needing a separate custom-node pack.
|
|
|
|
The backend nodes use the V3 schema, so ComfyUI loads them through
|
|
``comfy_entrypoint`` rather than ``NODE_CLASS_MAPPINGS``. Don't re-export the
|
|
old mappings alongside it: ComfyUI checks for them first and would then ignore
|
|
the V3 entrypoint entirely.
|
|
"""
|
|
|
|
from .nodes import comfy_entrypoint
|
|
|
|
# Tell ComfyUI where to find the front-end extension(s). Read for V1 and V3
|
|
# alike, so the Controllers keep loading.
|
|
WEB_DIRECTORY = "./js"
|
|
|
|
__all__ = ["comfy_entrypoint", "WEB_DIRECTORY"]
|