Skip to content

Commit

Permalink
fix #444
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Dec 18, 2024
1 parent f3262e7 commit 629c4c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-JKZEHMJBMH
NEXT_PUBLIC_NODE_LIMIT=600
NEXT_TELEMETRY_DISABLED=1
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_NODE_LIMIT=1000
2 changes: 1 addition & 1 deletion src/features/editor/views/GraphView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const GraphCanvas = ({ isWidget }: GraphProps) => {
);
};

const SUPPORTED_LIMIT = 600;
const SUPPORTED_LIMIT = +(process.env.NEXT_PUBLIC_NODE_LIMIT as string);

export const GraphView = ({ isWidget = false }: GraphProps) => {
const setViewPort = useGraph(state => state.setViewPort);
Expand Down

0 comments on commit 629c4c4

Please sign in to comment.