Add subgraph skeleton classes (#997)

Allows downstream consumers to use subgraph types ahead of impl.
This commit is contained in:
filtered
2025-05-02 09:16:19 +10:00
committed by GitHub
parent ee89fc575f
commit 199eeae269
11 changed files with 330 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
import type { Positionable } from "@/interfaces"
import type { NodeId } from "@/LGraphNode"
import { SubgraphIONodeBase } from "./SubgraphIONodeBase"
export class SubgraphOutputNode extends SubgraphIONodeBase implements Positionable {
readonly id: NodeId = -20
get slots() {
return this.subgraph.outputs
}
}