Skip to content

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.

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"