refactor(nodes)!: Remove draggable options, boolean only
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { DraggableEventListener, DraggableCore } from '@braks/revue-draggable'
|
||||
import { useStore } from '../../composables'
|
||||
import { Draggable, GraphNode, SnapGrid, XYPosition } from '../../types'
|
||||
import { GraphNode, SnapGrid, XYPosition } from '../../types'
|
||||
import { NodeId } from '../../context'
|
||||
import { calculateXYZPosition, clampPosition, getDimensions, getHandleBounds, isParentSelected } from '../../utils'
|
||||
|
||||
@@ -10,7 +10,7 @@ interface NodeWrapperProps {
|
||||
selectNodesOnDrag?: boolean
|
||||
snapGrid?: SnapGrid
|
||||
component?: any
|
||||
draggable?: Draggable
|
||||
draggable?: boolean
|
||||
selectable?: boolean
|
||||
connectable?: boolean
|
||||
scale?: number
|
||||
|
||||
Reference in New Issue
Block a user