updates the specified dependency link
gantt.addLink({ id:5, source:1, target:2, type:1 }); gantt.getLink(5).type = 2; //changes link's data gantt.updateLink(5); //renders the updated link