Skip to content

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

increase canvas padding

AykutSaracc7475bb955a5
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsx
index dd68cc61..d4c81d1f 100644
--- a/src/components/Graph/index.tsx
+++ b/src/components/Graph/index.tsx
@@ -103,8 +103,8 @@ const MemoizedGraph = React.memo(function Layout({
<Canvas
nodes={nodes}
edges={edges}
- maxWidth={size.width + 100}
- maxHeight={size.height + 100}
+ maxWidth={size.width + 400}
+ maxHeight={size.height + 400}
direction={layout}
key={layout}
onLayoutChange={onLayoutChange}