deletes the specified dependency link
id | string | number | the dependency link's id |
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.deleteLink(1);
The method invokes the onBeforeLinkDelete and onAfterLinkDelete events.