Skip to content

Untitled string in Mermaid Config Schema

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

如果这不会导致额外的边交叉,则保留模型文件中节点和边的顺序。根据策略的不同,这并不总是可行的,因为节点和边的顺序可能存在冲突。

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 MermaidChart.com