Skip to content

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

update default canvas size

AykutSarac9a6270737293
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsx
index bed059fb..57af4fc4 100644
--- a/src/components/Graph/index.tsx
+++ b/src/components/Graph/index.tsx
@@ -99,8 +99,8 @@ export const Graph: React.FC<GraphProps & CanvasContainerProps> = ({
<Canvas
nodes={nodes}
edges={edges}
- maxWidth={size.width}
- maxHeight={size.height}
+ maxWidth={size.width + 100}
+ maxHeight={size.height + 100}
direction={layout}
key={layout}
onCanvasClick={onCanvasClick}