feat: implement workspaces
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { getElements } from './utils'
|
||||
import { VueFlow, FlowInstance } from '~/index'
|
||||
import { VueFlow, FlowInstance } from '@braks/vue-flow'
|
||||
|
||||
const instance = ref<FlowInstance>()
|
||||
const onLoad = (flowInstance: FlowInstance) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Edge, Node } from '~/index'
|
||||
import { Edge, Node } from '@braks/vue-flow'
|
||||
|
||||
export function getElements(xElements = 10, yElements = 10) {
|
||||
const initialNodes: Node[] = []
|
||||
|
||||
Reference in New Issue
Block a user