refactor: change pkg scope to vue-flow
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { VueFlow, useVueFlow } from '@braks/vue-flow'
|
||||
import { VueFlow, useVueFlow } from '@vue-flow/core'
|
||||
import { getElements } from './utils'
|
||||
|
||||
const { nodes, edges } = getElements(10, 10)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Edge, Node } from '@braks/vue-flow'
|
||||
import type { Edge, Node } from '@vue-flow/core'
|
||||
|
||||
export function getElements(xElements = 10, yElements = 10) {
|
||||
const initialNodes: Node[] = []
|
||||
|
||||
Reference in New Issue
Block a user