Follow-up from #11559 and DrJKL's review.
Current state:
src/lib/litegraph/src/subgraph/SubgraphNode.ts:1142 reads promoted-widget identity from SubgraphNode.properties.proxyWidgets.
src/lib/litegraph/src/subgraph/SubgraphNode.ts:1728 writes per-instance inline values back into the same proxyWidgets entries.
Goal:
- Move promotion identity toward the subgraph definition rather than each
SubgraphNode instance.
- Persist per-instance promoted-widget values in a dedicated instance-state slot instead of mixing them into
properties.proxyWidgets.
- Provide a migration path for existing tuple-based
proxyWidgets entries.
Why:
- Promotion identity and per-instance values have different ownership and mutation cadence. Separating them should reduce save/load churn and make later migration safer.
┆Issue is synchronized with this Notion page by Unito
Follow-up from #11559 and DrJKL's review.
Current state:
src/lib/litegraph/src/subgraph/SubgraphNode.ts:1142reads promoted-widget identity fromSubgraphNode.properties.proxyWidgets.src/lib/litegraph/src/subgraph/SubgraphNode.ts:1728writes per-instance inline values back into the sameproxyWidgetsentries.Goal:
SubgraphNodeinstance.properties.proxyWidgets.proxyWidgetsentries.Why:
┆Issue is synchronized with this Notion page by Unito