From 16b607c95c4ab0ab6a129643b8fbd857189e6afa Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Wed, 23 Jul 2025 20:51:48 +1000 Subject: [PATCH] [API] Add subgraph ID to execution DTO (#1152) --- src/subgraph/ExecutableNodeDTO.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/subgraph/ExecutableNodeDTO.ts b/src/subgraph/ExecutableNodeDTO.ts index d6a47d238..afa783996 100644 --- a/src/subgraph/ExecutableNodeDTO.ts +++ b/src/subgraph/ExecutableNodeDTO.ts @@ -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,