mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
add onNodeUpdated event in LGraph
This commit is contained in:
@@ -355,6 +355,7 @@ export class LGraphCanvas {
|
||||
onShowNodePanel?: (n: LGraphNode) => void
|
||||
onNodeSelected?: (node: LGraphNode) => void
|
||||
onNodeDeselected?: (node: LGraphNode) => void
|
||||
onNodeUpdated?: (node: LGraphNode) => void
|
||||
onRender?: (canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D) => void
|
||||
/** Implement this function to allow conversion of widget types to input types, e.g. number -> INT or FLOAT for widget link validation checks */
|
||||
getWidgetLinkType?: (widget: IWidget, node: LGraphNode) => string | null | undefined
|
||||
|
||||
Reference in New Issue
Block a user