refactor(additional-components): move additional components into separate pkg
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type {
|
||||
Connection,
|
||||
Edge,
|
||||
Elements,
|
||||
FlowEvents,
|
||||
Node,
|
||||
SnapGrid,
|
||||
Styles,
|
||||
ViewpaneTransform,
|
||||
VueFlowStore,
|
||||
} from '@vue-flow/core'
|
||||
import { Background, Controls, MarkerType, MiniMap, VueFlow, addEdge } from '@vue-flow/core'
|
||||
import type { Connection, Edge, Elements, FlowEvents, Node, SnapGrid, Styles, VueFlowStore } from '@vue-flow/core'
|
||||
import { MarkerType, VueFlow, addEdge } from '@vue-flow/core'
|
||||
import { Background, Controls, MiniMap } from '@vue-flow/additional-components'
|
||||
|
||||
const onNodeDragStart = (e: FlowEvents['nodeDragStart']) => console.log('drag start', e)
|
||||
const onNodeDrag = (e: FlowEvents['nodeDrag']) => console.log('drag', e)
|
||||
|
||||
Reference in New Issue
Block a user