mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Make node id serialization optional (#76)
This commit is contained in:
2
public/litegraph.d.ts
vendored
2
public/litegraph.d.ts
vendored
@@ -584,7 +584,7 @@ export declare class LGraph {
|
||||
/** Destroys a link */
|
||||
removeLink(link_id: number): void;
|
||||
/** Creates a Object containing all the info about this graph, it can be serialized */
|
||||
serialize<T extends serializedLGraph>(): T;
|
||||
serialize<T extends serializedLGraph>(option?: { sortNodes: boolean }): T;
|
||||
/**
|
||||
* Configure a graph from a JSON string
|
||||
* @param data configure a graph from a JSON string
|
||||
|
||||
Reference in New Issue
Block a user