diff --git a/docs/examples/edges/App.vue b/docs/examples/edges/App.vue index 4beafb21..85bbe39b 100644 --- a/docs/examples/edges/App.vue +++ b/docs/examples/edges/App.vue @@ -3,7 +3,7 @@ import { h, ref } from 'vue' import { Background } from '@vue-flow/background' import { MarkerType, VueFlow } from '@vue-flow/core' import EdgeWithButton from './EdgeWithButton.vue' -import CustomEdge2 from './CustomEdge2.vue' +import CustomEdge from './CustomEdge.vue' import CustomEdgeLabel from './CustomEdgeLabel.vue' const nodes = ref([ @@ -49,7 +49,7 @@ const edges = ref([ id: 'e5-8', source: '5', target: '8', - type: 'custom', + type: 'button', data: { text: 'custom edge' }, markerEnd: MarkerType.ArrowClosed, }, @@ -57,7 +57,7 @@ const edges = ref([ id: 'e4-9', source: '4', target: '9', - type: 'custom2', + type: 'custom', data: { text: 'styled custom edge label' }, }, ]) @@ -65,12 +65,33 @@ const edges = ref([