SankeyLinkColoring Enum

How the links of a sankey diagram are colored, from the colors of their nodes (Mermaid linkColor).

public enum SankeyLinkColoring

Fields

NameValueDescription
Gradient0A gradient from the color of the source to the color of the target (Mermaid gradient). It is written back, but the links are drawn in the color of their source, as SankeyLinkColoring.Source.
Source1The color of the source (Mermaid source).
Target2The color of the target (Mermaid target).