更新链接的id
gantt.addLink({ id:1, source:1, target:2, type:1 }); gantt.changeLinkId(1, 5); //将链接的id从 '1' 更新为 '5'
此方法会触发 onLinkIdChange 事件。