From 6d9fa8a41d0800eb8d7002f8827dba856cf96967 Mon Sep 17 00:00:00 2001 From: DABEOM KIM <39144843+liradb2000@users.noreply.github.com> Date: Mon, 4 Nov 2019 23:47:33 +0900 Subject: [PATCH] Resolve "'LGraph' is not defined" issue Resolve Unable to use SubGraph node with webpack. --- src/nodes/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodes/base.js b/src/nodes/base.js index b58dc772b..63a1ec03d 100755 --- a/src/nodes/base.js +++ b/src/nodes/base.js @@ -26,7 +26,7 @@ this.enabled = true; //create inner graph - this.subgraph = new LGraph(); + this.subgraph = new LiteGraph.LGraph(); this.subgraph._subgraph_node = this; this.subgraph._is_subgraph = true;