We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f0b5d commit 9a41611Copy full SHA for 9a41611
src/scripts/app.ts
@@ -720,16 +720,12 @@ export class ComfyApp {
720
fixLinkInputSlots(this)
721
722
// Fire callbacks before the onConfigure, this is used by widget inputs to setup the config
723
- for (const node of graph.nodes) {
724
- node.onGraphConfigured?.()
725
- }
+ triggerCallbackOnAllNodes(this, 'onGraphConfigured')
726
727
const r = onConfigure?.apply(this, args)
728
729
// Fire after onConfigure, used by primitives to generate widget using input nodes config
730
731
- node.onAfterGraphConfigured?.()
732
+ triggerCallbackOnAllNodes(this, 'onAfterGraphConfigured')
733
734
return r
735
}
0 commit comments