Files
ComfyBox/src/lib/nodes/ComfyGraphNode.ts
2023-04-07 12:13:03 -05:00

15 lines
403 B
TypeScript

import type ComfyWidget from "$lib/components/widgets/ComfyWidget";
import { LGraphNode } from "@litegraph-ts/core";
export default class ComfyGraphNode extends LGraphNode {
isVirtualNode: boolean = false;
/*
* Widgets that aren't a part of the graph, but are used for rendering
* purposes only.
*/
virtualWidgets: ComfyWidget[] = [];
onExecuted?(output: any): void;
}