Skip to content

Untitled string in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SankeyDiagramConfig/properties/linkColor/anyOf/0

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*

0 Type

string

0 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.

0 Default Value

The default value is:

json
"gradient"