Skip to content

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

fix: dialog node count

AykutSaracc7bad1b0a6ba
diff --git a/src/containers/Editor/LiveEditor/GraphView/index.tsx b/src/containers/Editor/LiveEditor/GraphView/index.tsx
index c904820e..b7927212 100644
--- a/src/containers/Editor/LiveEditor/GraphView/index.tsx
+++ b/src/containers/Editor/LiveEditor/GraphView/index.tsx
@@ -152,7 +152,7 @@ export const Graph = ({ isWidget = false }: GraphProps) => {
});
useEffect(() => {
- if (nodeCount > 20 && !isDialogClosed) {
+ if (nodeCount > 100 && !isDialogClosed) {
setDialogVisible(true);
}
}, [isDialogClosed, nodeCount, setDialogVisible]);