add missing node error border

This commit is contained in:
bymyself
2025-09-13 09:49:43 -07:00
parent 48d01745cd
commit fe7649624a
2 changed files with 6 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ export interface VueNodeData {
widgets?: SafeWidgetData[]
inputs?: unknown[]
outputs?: unknown[]
hasErrors?: boolean
flags?: {
collapsed?: boolean
}
@@ -208,6 +209,7 @@ export const useGraphNodeManager = (graph: LGraph): GraphNodeManager => {
mode: node.mode || 0,
selected: node.selected || false,
executing: false, // Will be updated separately based on execution state
hasErrors: !!node.has_errors,
widgets: safeWidgets,
inputs: node.inputs ? [...node.inputs] : undefined,
outputs: node.outputs ? [...node.outputs] : undefined,