Skip to content

Untitled string in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SankeyLinkColor

使用链接的源和/或目标的颜色选择桑基图链接的颜色。

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

SankeyLinkColor Type

string

SankeyLinkColor Constraints

enum: the value of this property must be equal to one of the following values:

ValueExplanation
"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"