主题
Untitled string in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SankeyDiagramConfig/properties/linkColor/anyOf/0
使用链接的源和/或目标的颜色选择桑基图链接的颜色。
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* |
0 Type
string
0 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. |
0 Default Value
The default value is:
json
"gradient"