fires after a new link is added to the Gantt chart
gantt.attachEvent("onAfterLinkAdd", function(id,link){ //any custom logic here });