Gantt Link- requires respective event and some sample

Hi Team,
I need to know which event needs to use to identify the action while drawing the link to connect tasks.
can you please share an example in ReactJS regards the same.

Hello Arunkumar,
There are no public API events that fire when you move the mouse while creating the link. There are only the following ones that are related:
https://docs.dhtmlx.com/gantt/api__gantt_onafterlinkadd_event.html
https://docs.dhtmlx.com/gantt/api__gantt_onbeforelinkadd_event.html
https://docs.dhtmlx.com/gantt/api__gantt_onlinkcreated_event.html
Here is a react demo:
https://files.dhtmlx.com/30d/6193ce75b1a3c1ceb438fbf560c77397/react+gantt+7.0.8_GPL+events.zip