changes the link's id
id | string | number | the current link's id |
new_id | string | number | the new link's id |
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.changeLinkId(1, 5); //changes the link's id '1 -> 5'
The method fires the onLinkIdChange event.