Skip to content

Untitled string in Mermaid Config Schema ​

txt
https://mermaid.js.org/schemas/config.schema.json#/properties/layered/properties/edgeRouting

How the layered layout routes edges between nodes.

  • rounded: edges run on tracks between ranks with radius-5 rounded corners (smaller on short segments).
  • curved: each edge runs as smooth curves between ranks.
  • stepped: edges run on tracks between ranks; each turn is softened over at most 12 px.
  • straight: each edge runs as straight lines from point to point.
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

edgeRouting Type ​

string

edgeRouting Constraints ​

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

ValueExplanation
"rounded"
"curved"
"stepped"
"straight"

edgeRouting Default Value ​

The default value is:

json
"rounded"
Opens in mermaid.ai