New to Kendo UI for Angular? Start a free 30-day trial

SankeyLink

Represents the links options of the Sankey widget.

NameTypeDefaultDescription

color?

string

The color of the link. The color is used when the colorType option is set to static.

colorType?

"static" | "source" | "target"

'static'

The color type of the link. The supported values are:

  • static—The link color is static. The color is determined by the link's color option.
  • source—The link color is the same as the source node color.
  • target—The link color is the same as the target node color.

highlight?

SankeyLinkHighlight

{ opacity: 0.8, inactiveOpacity: 0.2 }

The highlight options of the link.

opacity?

number

0.4

The opacity of the link.

sourceId

string | number

The source node ID of the link.

targetId

string | number

The target node ID of the link.

value

number

The value of the link.