mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
var COMFY_NODES = [];
|
|
|
|
COMFY_NODES["EmptyLatentImage"] = {
|
|
onExecute: function() {
|
|
for (var idx of this.outputs[0].links) {
|
|
let link = this.graph.links[idx];
|
|
link.data = this.widgets.map(function(w) { return w.value; });
|
|
}
|
|
}
|
|
};
|