Holds the raw event data. Use this structure when passing event data to DayPilot.Link() constructor.

Core properties:

  • from (source task id)
  • to (target task id)
  • id (optional)
  • type (optional, default type is "FinishToStart")

Other properties:

  • width (integer) - custom line width
  • color (string) - custom link color
  • style (string) - custom line style, uses border-style CSS syntax
  • cssClass (string) - CSS class that will be added to all parts (elements) of the link
  • layer (string) - determines the layer relative to events: "Above" | "Below" (default is "Above")