[Reland] Restrict applyToGraph to PrimitiveNode (#2724)

This commit is contained in:
Chenlei Hu
2025-02-25 10:54:21 -05:00
committed by GitHub
parent 1a7145fbc9
commit 156013aa24
4 changed files with 13 additions and 11 deletions

View File

@@ -82,8 +82,6 @@ declare module '@comfyorg/litegraph' {
convertToNodes?(): LGraphNode[]
recreate?(): Promise<LGraphNode>
refreshComboInNode?(defs: Record<string, ComfyNodeDef>)
/** Used by virtual nodes (primitives) to insert their values into the graph prior to queueing. */
applyToGraph?(extraLinks?: LLink[]): void
/** @deprecated groupNode */
updateLink?(link: LLink): LLink | null
onExecutionStart?(): unknown