The links.update() method updates and redraws the specified link in the JavaScript Scheduler component.
DayPilot.Scheduler.links.update(link)link (DayPilot.Link) - the link to update and redraw
You can get the link object using the DayPilot.Scheduler.links.find() method.
Change the color of a link and redraw it.
const link = scheduler.links.find(1);
link.data.color = "blue";
scheduler.links.update(link);DayPilot.Scheduler.links.find()
Dependency Links in the Scheduler Component [doc.daypilot.org]