refactor: replace additional-components package occurrences

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-13 15:29:00 +01:00
committed by Braks
parent e1c904f97f
commit 000dd5c9ba
54 changed files with 218 additions and 108 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
<script setup>
import { Background, MiniMap, Panel, PanelPosition } from '@vue-flow/additional-components'
import { VueFlow, isNode, useVueFlow } from '@vue-flow/core'
import { Panel, PanelPosition, VueFlow, isNode, useVueFlow } from '@vue-flow/core'
import { nextTick, ref } from 'vue'
import { Background } from '@vue-flow/background'
import { getElements } from './utils'
const { nodes, edges } = getElements(15, 15)
const elements = ref([...nodes, ...edges])
const { onPaneReady, dimensions, onNodeClick, getEdges, fitView } = useVueFlow()
const { onPaneReady, dimensions, fitView } = useVueFlow()
onPaneReady((i) => {
i.fitView({