- 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>
14 lines
438 B
Python
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"]
|