feat(interaction): add paneMoveable prop #377

This commit is contained in:
moklick
2020-07-30 11:10:41 +02:00
parent f4d1af6589
commit f84eff1a8c
5 changed files with 30 additions and 3 deletions
+1
View File
@@ -101,6 +101,7 @@ const BasicFlow = () => <ReactFlow elements={elements} />;
- `zoomOnScroll`: default: `true`
- `zoomOnDoubleClick`: default: `true`
- `selectNodesOnDrag`: default: `true`
- `paneMoveable`: default: `true` - If set to `false`, panning and zooming is disabled
#### Element Customization
- `nodeTypes`: object with [node types](#node-types--custom-nodes)