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.
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:
Here is a react demo: