Is there a way to change link click+hold & drag?

I want to change the default behavior of linking from click+hold & drag


Click link drag icon to start then click another link icon to end

There is no built-in option for this, but you can implement it quite easily using a public API. You can disable the default link creation using this config:

gantt.config.drag_links = false;

and then track click events on tasks and create links from code.
I created a snippet to show how it can be:
If you want to customize it or implement it in another way, please use these links as a reference: … event.html … onfig.html … dency.html … lates.html

This is great thanks for your help