examples: use EdgeLabelRenderer in edges example

This commit is contained in:
braks
2022-11-04 22:10:40 +01:00
committed by Braks
parent 43ff2a42e6
commit a26e83b27d
9 changed files with 110 additions and 138 deletions
+2 -2
View File
@@ -3,9 +3,9 @@ interface CustomLabelProps {
label: string
}
const props = defineProps<CustomLabelProps>()
defineProps<CustomLabelProps>()
</script>
<template>
<tspan dy="10" x="0">{{ props.label }}</tspan>
<tspan dy="10" x="0">{{ label }}</tspan>
</template>