We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3262e7 commit 629c4c4Copy full SHA for 629c4c4
.env
@@ -1,2 +1,3 @@
1
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-JKZEHMJBMH
2
+NEXT_PUBLIC_NODE_LIMIT=600
3
NEXT_TELEMETRY_DISABLED=1
.env.development
@@ -0,0 +1 @@
+NEXT_PUBLIC_NODE_LIMIT=1000
src/features/editor/views/GraphView/index.tsx
@@ -134,7 +134,7 @@ const GraphCanvas = ({ isWidget }: GraphProps) => {
134
);
135
};
136
137
-const SUPPORTED_LIMIT = 600;
+const SUPPORTED_LIMIT = +(process.env.NEXT_PUBLIC_NODE_LIMIT as string);
138
139
export const GraphView = ({ isWidget = false }: GraphProps) => {
140
const setViewPort = useGraph(state => state.setViewPort);
0 commit comments