Skip to content

Untitled boolean in Mermaid Config Schema ​

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

If true, subgraphs without explicit direction will inherit the global graph direction (e.g., LR, TB, RL, BT). Defaults to false to preserve legacy layout behavior.

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

inheritDir Type ​

boolean

inheritDir Default Value ​

The default value is:

json
false
Opens in MermaidChart.com