File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
packages/vue-flow/src/components/Edges Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -180,10 +180,11 @@ const Wrapper = defineComponent({
180180 onMouseout : onEdgeUpdaterMouseOut ,
181181 } ,
182182 h ( EdgeAnchor , {
183- position : sourcePosition ,
184- centerX : sourceX ,
185- centerY : sourceY ,
186- radius : props . edgeUpdaterRadius ,
183+ 'position' : sourcePosition ,
184+ 'centerX' : sourceX ,
185+ 'centerY' : sourceY ,
186+ 'radius' : props . edgeUpdaterRadius ,
187+ 'data-type' : 'source' ,
187188 } ) ,
188189 ) ,
189190 ]
@@ -198,10 +199,11 @@ const Wrapper = defineComponent({
198199 onMouseout : onEdgeUpdaterMouseOut ,
199200 } ,
200201 h ( EdgeAnchor , {
201- position : targetPosition ,
202- centerX : targetX ,
203- centerY : targetY ,
204- radius : props . edgeUpdaterRadius ,
202+ 'position' : targetPosition ,
203+ 'centerX' : targetX ,
204+ 'centerY' : targetY ,
205+ 'radius' : props . edgeUpdaterRadius ,
206+ 'data-type' : 'target' ,
205207 } ) ,
206208 ) ,
207209 ]
You can’t perform that action at this time.
0 commit comments