{
onElementClick={onElementClick}
onNodeDragStart={onNodeDragStart}
onNodeDragStop={onNodeDragStop}
+ paneMoveable={paneMoveable}
>
@@ -102,6 +104,18 @@ const InteractionFlow = () => {
/>
+
+
+
);
diff --git a/src/container/GraphView/index.tsx b/src/container/GraphView/index.tsx
index 987ea8bf..2b509c31 100644
--- a/src/container/GraphView/index.tsx
+++ b/src/container/GraphView/index.tsx
@@ -60,6 +60,7 @@ export interface GraphViewProps {
markerEndId?: string;
zoomOnScroll: boolean;
zoomOnDoubleClick: boolean;
+ paneMoveable: boolean;
}
const GraphView = ({
@@ -98,6 +99,7 @@ const GraphView = ({
markerEndId,
zoomOnScroll,
zoomOnDoubleClick,
+ paneMoveable,
}: GraphViewProps) => {
const zoomPane = useRef