Untitled string in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SankeyLinkColor
Picks the color of the sankey diagram links, using the colors of the source and/or target of the links.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
SankeyLinkColor Type
string
SankeyLinkColor Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"source" | Use the source of sankey link for the color of the link. |
"target" | Use the target of sankey link for the color of the link. |
"gradient" | Use a gradient of the source and target for the color of the link. |
SankeyLinkColor Default Value
The default value is:
json
"gradient"