feat(edges): add data-id prop to edges

This commit is contained in:
braks
2022-10-07 20:07:21 +02:00
committed by Braks
parent fa5b5da740
commit 3461602c2c

View File

@@ -123,8 +123,9 @@ const Wrapper = defineComponent({
return h(
'g',
{
ref: edgeEl,
class: [
'ref': edgeEl,
'data-id': props.id,
'class': [
'vue-flow__edge',
`vue-flow__edge-${props.name}`,
{