mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
Graph serialisation update - Links & Reroutes (#279)
* nit * Add LGraph state POCO Moves last_link_id, last_node_id and creates same for group and reroute fix import * Add new serialisation to LGraph Add LGraph schema 1 Remove reroute from old serialised graph Remove brittle inherited types Ensure stale links are not kept when clearing graph * Add serialisable exports * Ensure valid LGraph.state during deserialise
This commit is contained in:
@@ -21,7 +21,8 @@ export class LiteGraphGlobal {
|
||||
SlotType = SlotType
|
||||
LabelPosition = LabelPosition
|
||||
|
||||
VERSION = 0.4
|
||||
/** Used in serialised graphs at one point. */
|
||||
VERSION = 0.4 as const
|
||||
|
||||
CANVAS_GRID_SIZE = 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user