update: types in SelectionPane.vue

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 8b0ddc9be9
commit cf2ded4fc8
2 changed files with 3 additions and 3 deletions
@@ -1,12 +1,12 @@
<script lang="ts" setup>
import { Edge, ElementId, FlowElement, FlowElements, KeyCode } from '../../types'
import { ElementId, FlowElement, FlowElements, GraphEdge, KeyCode } from '../../types'
import { useStore, useKeyPress } from '../../composables'
import { getConnectedEdges, isGraphNode } from '../../utils'
import NodesSelection from '../../components/NodesSelection/NodesSelection.vue'
import UserSelection from '../../components/UserSelection/UserSelection.vue'
interface SelectionPaneProps {
edges: Edge[]
edges: GraphEdge[]
selectedElements?: FlowElements
selectionKeyCode?: KeyCode
deleteKeyCode?: KeyCode
+1 -1
View File
@@ -8,7 +8,7 @@ export interface VFInternals {
width: number
height: number
handleBounds: {
source: HandleElement[]
source?: HandleElement[]
target?: HandleElement[]
}
}