feat(core): add edgesFocusable option to store

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-20 00:38:56 +01:00
committed by Braks
parent bbc2712d06
commit 361c4b814e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -88,6 +88,7 @@ const defaultState = (): State => ({
snapToGrid: false,
edgesUpdatable: false,
edgesFocusable: true,
nodesConnectable: true,
nodesDraggable: true,
elementsSelectable: true,
+1
View File
@@ -86,6 +86,7 @@ export interface State extends Omit<FlowOptions, 'id' | 'modelValue'> {
defaultMarkerColor: string
edgesUpdatable: EdgeUpdatable
edgesFocusable: boolean
nodesDraggable: boolean
nodesConnectable: boolean