mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-09 07:00:06 +00:00
Add getters to LGraph private fields (#141)
This commit is contained in:
7
public/litegraph.d.ts
vendored
7
public/litegraph.d.ts
vendored
@@ -435,6 +435,13 @@ export declare class LGraph {
|
||||
private _nodes_in_order: LGraphNode[];
|
||||
private _version: number;
|
||||
|
||||
get nodes(): LGraphNode[];
|
||||
get groups(): LGraphGroup[];
|
||||
get nodes_by_id(): Record<number, LGraphNode>;
|
||||
get nodes_executable(): (LGraphNode & { onExecute: NonNullable<LGraphNode["onExecute"]> }[] | null);
|
||||
get nodes_in_order(): LGraphNode[];
|
||||
get version(): number;
|
||||
|
||||
getSupportedTypes(): string[];
|
||||
/** Removes all nodes from this graph */
|
||||
clear(): void;
|
||||
|
||||
Reference in New Issue
Block a user