Skip to content

Untitled string in Mermaid Config Schema ​

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/PacketDiagramConfig/properties/bitOrder

每一行编号的方向。descending 会镜像每一行,所以从该行的最高位在左到最低位在右阅读,这是硬件寄存器使用的惯例。字段仍然是从最低位开始声明,并保持它们的宽度。

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

bitOrder Type ​

string

bitOrder Constraints ​

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

ValueExplanation
"ascending"Number each row from its lowest bit on the left up to its highest bit on the right.
"descending"Number each row from its highest bit on the left down to its lowest bit on the right.

bitOrder Default Value ​

The default value is:

json
"ascending"
Opens in mermaid.ai