[Refactor] Simplify & document graphToPrompt (#2696)

This commit is contained in:
filtered
2025-02-24 08:18:06 +11:00
committed by GitHub
parent 2ed3e59135
commit 436b952c59
2 changed files with 64 additions and 86 deletions

View File

@@ -74,12 +74,17 @@ declare module '@comfyorg/litegraph' {
onGraphConfigured?(): void
onExecuted?(output: any): void
onNodeCreated?(this: LGraphNode): void
/** @deprecated groupNode */
setInnerNodes?(nodes: LGraphNode[]): void
/** Originally a group node API. */
getInnerNodes?(): LGraphNode[]
/** @deprecated groupNode */
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
/**