[API] Add subgraph ID to execution DTO (#1152)

This commit is contained in:
filtered
2025-07-23 20:51:48 +10:00
committed by GitHub
parent cccf51b652
commit 16b607c95c

View File

@@ -85,6 +85,10 @@ export class ExecutableNodeDTO implements ExecutableLGraphNode {
return this.node.widgets
}
get subgraphId() {
return this.subgraphNode?.subgraph.id
}
constructor(
/** The actual node that this DTO wraps. */
readonly node: LGraphNode | SubgraphNode,