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 { CSSProperties } from 'vue'
import {
Flow,
VueFlow,
MiniMap,
Controls,
Background,
@@ -37,7 +37,7 @@ const addRandomNode = () => {
}
</script>
<template>
<Flow
<VueFlow
:elements="elements"
@load="onLoad"
@element-click="onElementClick"
@@ -50,5 +50,5 @@ const addRandomNode = () => {
<Background :variant="BackgroundVariant.Lines" />
<button type="button" :style="buttonStyle" @click="addRandomNode">add node</button>
</Flow>
</VueFlow>
</template>