Skip to content

Untitled string in Mermaid Config Schema ​

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

The direction each row is numbered in. descending mirrors every row so it reads from that row's highest bit on the left down to its lowest bit on the right, the convention used for hardware registers. Fields are still declared lowest bit first, and keep their width.

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