chore(docs): update edges example

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent 88beaeca2b
commit 14f3abef1a
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import { h, ref } from 'vue'
import { Background } from '@vue-flow/background'
import { MarkerType, VueFlow } from '@vue-flow/core'
import CustomEdge from './CustomEdge.vue'
import EdgeWithButton from './EdgeWithButton.vue'
import CustomEdge2 from './CustomEdge2.vue'
import CustomEdgeLabel from './CustomEdgeLabel.vue'
@@ -66,7 +66,7 @@ const edges = ref([
<template>
<VueFlow :nodes="nodes" :edges="edges" fit-view-on-init>
<template #edge-custom="props">
<CustomEdge v-bind="props" />
<EdgeWithButton v-bind="props" />
</template>
<template #edge-custom2="props">