Skip to content

Untitled boolean in Mermaid Config Schema

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

当此标志设置为 true 时,高度和宽度设置为 100%,然后使用可用空间缩放。如果设置为 false,则使用所需的绝对空间。

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

useMaxWidth Type

boolean

useMaxWidth Default Value

The default value is:

json
true