The onBeforeLinkRender event is fired by the JavaScript Scheduler for each link before it is rendered. You can use this event to customize the link appearance.
DayPilot.Scheduler.onBeforeLinkRender(args)
args.data
(object) - a shallow copy of the source link data object (see also DayPilot.Link.data)
args.from
(DayPilot.Event object) - the link source event (read-only)
args.to
(DayPilot.Event object) - the link target event (read-only)
onBeforeLinkRender: (args) => {
args.data.color = "orange";
}