feat(ui): set min zoom on nodes to 0.1

This commit is contained in:
psychedelicious 2023-08-16 22:55:35 +10:00
parent 0d36bab6cc
commit a7ba142ad9

View File

@ -137,7 +137,7 @@ export const Flow = () => {
connectionLineComponent={CustomConnectionLine}
onSelectionChange={handleSelectionChange}
isValidConnection={isValidConnection}
minZoom={0.2}
minZoom={0.1}
snapToGrid={shouldSnapToGrid}
snapGrid={[25, 25]}
connectionRadius={30}