mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
[API] Add subgraph ID to execution DTO (#1152)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user