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 0207794 commit a01bca6Copy full SHA for a01bca6
src/subgraph/SubgraphNode.ts
@@ -60,6 +60,8 @@ export class SubgraphNode extends LGraphNode implements BaseLGraph {
60
subgraphEvents.addEventListener("input-added", (e) => {
61
const subgraphInput = e.detail.input
62
const { name, type } = subgraphInput
63
+ if (this.inputs.some(i => i.name == name))
64
+ return
65
const input = this.addInput(name, type)
66
67
this.#addSubgraphInputListeners(subgraphInput, input)
0 commit comments