Skip to content

Untitled string in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/properties/elk/properties/considerModelOrder

Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting.

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

considerModelOrder Type

string

considerModelOrder Constraints

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

ValueExplanation
"NONE"
"NODES_AND_EDGES"
"PREFER_EDGES"
"PREFER_NODES"

considerModelOrder Default Value

The default value is:

json
"NODES_AND_EDGES"
Opens in mermaid.ai