Explorar o código

increase canvas padding

AykutSarac %!s(int64=2) %!d(string=hai) anos
pai
achega
c7475bb955
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/Graph/index.tsx

+ 2 - 2
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}