diff --git a/package.json b/package.json index 592333d..fdf1412 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "egraph-visualizer", - "version": "0.1.8", + "version": "0.1.9", "repository": { "type": "git", "url": "https://github.com/saulshanabrook/egraph-visualizer.git" diff --git a/src/Visualizer.tsx b/src/Visualizer.tsx index 61f2a77..75bac3a 100644 --- a/src/Visualizer.tsx +++ b/src/Visualizer.tsx @@ -337,7 +337,6 @@ function toELKNode( ); // Use interactive layout if more than half the classes already have positions as a heuristic if ((overlappingClasses.false || []).length > (overlappingClasses.true || []).length) { - console.log("not using interactive layout"); return { elkNode: elkRoot, colors }; } // We have some children that were already layed out. So let's update all layout options to be interactive diff --git a/vite.config.ts b/vite.config.ts index 4c040af..72fe40c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -21,6 +21,8 @@ export default defineConfig({ }, define: { - "process.env": {}, + "process.env": { + NODE_ENV: JSON.stringify(process.env.NODE_ENV), + }, }, });