{
nodesConnectable={isConnectable}
nodesDraggable={isDraggable}
zoomOnScroll={zoomOnScroll}
+ zoomOnDoubleClick={zoomOnDoubleClick}
onConnect={onConnect}
onElementClick={onElementClick}
onNodeDragStart={onNodeDragStart}
@@ -88,6 +90,18 @@ const InteractionFlow = () => {
/>
+
+
+
);
diff --git a/src/container/GraphView/index.tsx b/src/container/GraphView/index.tsx
index 9758f65d..f76d83c7 100644
--- a/src/container/GraphView/index.tsx
+++ b/src/container/GraphView/index.tsx
@@ -55,6 +55,7 @@ export interface GraphViewProps {
arrowHeadColor: string;
markerEndId?: string;
zoomOnScroll: boolean;
+ zoomOnDoubleClick: boolean;
}
const GraphView = memo(
@@ -90,6 +91,7 @@ const GraphView = memo(
arrowHeadColor,
markerEndId,
zoomOnScroll,
+ zoomOnDoubleClick,
}: GraphViewProps) => {
const zoomPane = useRef