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,7 +1,7 @@
<script lang="ts" setup>
import ButtonEdge from './ButtonEdge.vue'
import {
Flow,
VueFlow,
addEdge,
Background,
Connection,
@@ -39,7 +39,7 @@ const onConnect = (params: Connection | Edge) =>
(elements.value = addEdge({ ...params, type: 'buttonedge' } as Edge, elements.value))
</script>
<template>
<Flow
<VueFlow
key="edge-with-button"
:elements="elements"
:snap-to-grid="true"
@@ -51,5 +51,5 @@ const onConnect = (params: Connection | Edge) =>
<MiniMap />
<Controls />
<Background />
</Flow>
</VueFlow>
</template>