We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6d7ea commit aed1952Copy full SHA for aed1952
ui/src/components/Canvas.tsx
@@ -28,6 +28,7 @@ import ReactFlow, {
28
XYPosition,
29
useStore as useRfStore,
30
useKeyPress,
31
+ SelectionMode,
32
} from "reactflow";
33
import "reactflow/dist/style.css";
34
@@ -613,6 +614,7 @@ function CanvasImpl() {
613
614
// disable node delete on backspace when the user is a guest.
615
deleteKeyCode={isGuest ? null : "Backspace"}
616
multiSelectionKeyCode={isMac ? "Meta" : "Control"}
617
+ selectionMode={SelectionMode.Partial}
618
// TODO restore previous viewport
619
defaultViewport={{ zoom: 1, x: 0, y: 0 }}
620
proOptions={{ hideAttribution: true }}
0 commit comments