Hi Rohan,
Thanks for contacting Syncfusion Support.
Requirement: Need to detect the intersection/overlap state.
We have provided support to achieve your requirement in SfDiagram. We have provided support for events (DragEnter, DragOver, DragLeave) to notify the intersection/overlap state. We have explained in detail as below.
Event Name |
Functionality |
DragEnter |
This event will fire when one Node starts to intersect with other Node. |
DragOver |
This event will fire when one Node drag(mouse) over the other Node. |
DragLeave |
This event will fire when drag leaves the other Node, without dropping on another Node. |
ItemDrop |
This event will fire when one Node dropped on the other Node. |
We have provided simple sample to represent these events. Please refer to the sample as below and test the sample with the above patch.
Regards,
Ranjitha A.