Files
jessesep-SimpleVariables/__init__.py
T
jessesepandClaude d2a4ffdd3b Rewrite as pure JavaScript frontend nodes - no trigger needed
- Nodes are now isVirtualNode = true (no Python execution)
- GetVariable uses getInputLink() to redirect to SetVariable's input
- Data flows directly through the graph, no execution order issues
- Get Variable has dropdown showing available variable names
- Node titles update to show variable name (Set: foo, Get: foo)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:08:10 +01:00

14 lines
438 B
Python

"""
SimpleVariables - Pure frontend Set/Get Variable nodes for ComfyUI
These nodes are implemented entirely in JavaScript (web/simplevariables.js).
They work by redirecting graph connections - no Python execution needed.
"""
# No Python nodes - everything is in JavaScript
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]