Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: lower supported node size

AykutSaracde40ee70f890
diff --git a/src/containers/Views/GraphView/index.tsx b/src/containers/Views/GraphView/index.tsx
index 07b4e10a..976b8209 100644
--- a/src/containers/Views/GraphView/index.tsx
+++ b/src/containers/Views/GraphView/index.tsx
@@ -141,7 +141,7 @@ const GraphCanvas = ({ isWidget }: GraphProps) => {
export const Graph = ({ isWidget = false }: GraphProps) => {
const setViewPort = useGraph(state => state.setViewPort);
const viewPort = useGraph(state => state.viewPort);
- const aboveSupportedLimit = useGraph(state => state.nodes.length > 1_000);
+ const aboveSupportedLimit = useGraph(state => state.nodes.length > 800);
const loading = useGraph(state => state.loading);
const gesturesEnabled = useConfig(state => state.gesturesEnabled);
const rulersEnabled = useConfig(state => state.rulersEnabled);