feat(edges): add data-id prop to edges
This commit is contained in:
@@ -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}`,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user