feat: support frontend node description (originally @melMass) (#5187)

This commit is contained in:
Alexander Brown
2025-08-24 10:11:15 -07:00
committed by GitHub
parent 926d8fef85
commit 6bf430b779
2 changed files with 2 additions and 1 deletions

View File

@@ -218,6 +218,7 @@ export class LGraphNode
static MAX_CONSOLE?: number
static type?: string
static category?: string
static description?: string
static filter?: string
static skip_list?: boolean

View File

@@ -918,7 +918,7 @@ export class ComfyApp {
output_is_list: [],
output_node: false,
python_module: 'custom_nodes.frontend_only',
description: `Frontend only node for ${name}`
description: node.description ?? `Frontend only node for ${name}`
} as ComfyNodeDefV1
}