Font Calculator Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/C4DiagramConfig/properties/containerFont
JavaScript function that returns a FontConfig
.
By default, these return the appropriate *FontSize
, *FontFamily
, *FontWeight
values.
For example, the font calculator called boundaryFont
might be defined as:
javascript
boundaryFont: function () {
return {
fontFamily: this.boundaryFontFamily,
fontSize: this.boundaryFontSize,
fontWeight: this.boundaryFontWeight,
};
}
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
containerFont Type
unknown (Font Calculator)