JS-only ComfyUI extension. Floating right-anchored panel that: - Auto-lists every LGraph group in the current workflow - Click row → animated pan+zoom to fit the group on screen - Search box at the top filters by title - Right-click row → Solo run / Center / Reset - Solo uses rgthree's Fast Groups Muter (driven via widget callbacks) when present; otherwise falls back to node.mode = NEVER on every node outside the soloed group's bounds - Keyboard 1-9 jumps to the first nine groups - Panel is draggable; position + collapsed state persisted to localStorage - Hidden when graph has < 2 groups No Python node, no drawNode hooks, no view-filtering — only canvas pan/zoom + rgthree widget poking + node.mode flag setting. None of the fragile internal hooks that comfyui-tabs depended on.
15 lines
457 B
Python
15 lines
457 B
Python
"""comfyui-navigator: floating side-panel that lists every group in the
|
|
current workflow and lets you click to pan/zoom to it (or right-click to
|
|
solo-run via rgthree's Fast Groups Muter).
|
|
|
|
JS-only extension — no nodes to drop. Active automatically when the open
|
|
workflow has 2+ groups.
|
|
"""
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|