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
@@ -2,7 +2,7 @@
import { CSSProperties } from 'vue'
import { getElements } from './utils'
import {
Flow,
VueFlow,
removeElements,
addEdge,
MiniMap,
@@ -49,7 +49,7 @@ const updateElements = () => {
}
</script>
<template>
<Flow :elements="elements" @load="onLoad" @elementsRemove="onElementsRemove" @connect="onConnect">
<VueFlow :elements="elements" @load="onLoad" @elementsRemove="onElementsRemove" @connect="onConnect">
<MiniMap />
<Controls />
<Background />
@@ -58,5 +58,5 @@ const updateElements = () => {
<button style="margin-right: 5px" @click="updatePos">change pos</button>
<button @click="updateElements">update elements</button>
</div>
</Flow>
</VueFlow>
</template>