From 3cd08e9e0c42b3b854492f970d9c5e856e0b62a6 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 3 Feb 2025 20:36:38 -0800 Subject: [PATCH] Remove LGraph._subgraph_node (Legacy subgraph) (#456) --- src/LGraph.ts | 1 - test/__snapshots__/LGraph.test.ts.snap | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/LGraph.ts b/src/LGraph.ts index 6263fae26..ae98e231d 100644 --- a/src/LGraph.ts +++ b/src/LGraph.ts @@ -105,7 +105,6 @@ export class LGraph implements LinkNetwork, Serialisable { execution_time: number _last_trigger_time?: number filter?: string - _subgraph_node?: LGraphNode /** Must contain serialisable values, e.g. primitive types */ config: LGraphConfig vars: Dictionary diff --git a/test/__snapshots__/LGraph.test.ts.snap b/test/__snapshots__/LGraph.test.ts.snap index 3016146a6..73f18cd7d 100644 --- a/test/__snapshots__/LGraph.test.ts.snap +++ b/test/__snapshots__/LGraph.test.ts.snap @@ -240,7 +240,6 @@ LGraph { "widgets_up": undefined, }, ], - "_subgraph_node": undefined, "_version": 3, "catch_errors": true, "config": {}, @@ -286,7 +285,6 @@ LGraph { "_nodes_by_id": {}, "_nodes_executable": [], "_nodes_in_order": [], - "_subgraph_node": undefined, "_version": 0, "catch_errors": true, "config": {}, @@ -562,7 +560,6 @@ LGraph { "widgets_up": undefined, }, ], - "_subgraph_node": undefined, "_version": 3, "catch_errors": true, "config": {},