examples: use EdgeLabelRenderer in edges example
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user