update!: Rename Flow container to VueFlow

* Export renamed to VueFlow

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-15 20:34:02 +01:00
parent 98d7053951
commit ffdadda051
31 changed files with 98 additions and 78 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { Flow, MiniMap, Controls, Connection, Edge, Elements, addEdge } from '~/index'
import { VueFlow, MiniMap, Controls, Connection, Edge, Elements, addEdge } from '~/index'
const initialElements: Elements = [
{ id: '1', type: 'input', data: { label: 'Node 1' }, position: { x: 250, y: 5 } },
@@ -23,7 +23,7 @@ watchEffect(() => {
})
</script>
<template>
<Flow :elements="elements" @connect="onConnect">
<VueFlow :elements="elements" @connect="onConnect">
<MiniMap />
<Controls />
@@ -35,5 +35,5 @@ watchEffect(() => {
</label>
</div>
</div>
</Flow>
</VueFlow>
</template>