Browse Source

add missing function

AykutSarac 2 years ago
parent
commit
182b7e33d0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/Graph/index.tsx

+ 1 - 0
src/components/Graph/index.tsx

@@ -114,6 +114,7 @@ const MemoizedGraph = React.memo(function Layout({
             direction={layout}
             direction={layout}
             key={layout}
             key={layout}
             onLayoutChange={onLayoutChange}
             onLayoutChange={onLayoutChange}
+            onCanvasClick={onCanvasClick}
             node={node}
             node={node}
             zoomable={false}
             zoomable={false}
             readonly
             readonly