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 ColorSelectorNode from './ColorSelectorNode.vue'
import {
Flow,
VueFlow,
isEdge,
removeElements,
addEdge,
@@ -111,7 +111,7 @@ const onConnect = (params: Connection | Edge) =>
))
</script>
<template>
<Flow
<VueFlow
:elements="elements"
:style="`background: ${bgColor}`"
:node-types="nodeTypes"
@@ -128,5 +128,5 @@ const onConnect = (params: Connection | Edge) =>
>
<MiniMap :node-stroke-color="nodeStroke" :node-color="nodeColor" />
<Controls />
</Flow>
</VueFlow>
</template>