mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 18:59:42 +02:00
Fix BlockDiagramConfig
This commit is contained in:
@@ -152,7 +152,6 @@ export interface MermaidConfig {
|
||||
wrap?: boolean;
|
||||
fontSize?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* The object containing configurations specific for packet diagrams.
|
||||
*
|
||||
@@ -185,16 +184,6 @@ export interface PacketDiagramConfig extends BaseDiagramConfig {
|
||||
*/
|
||||
paddingY?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* The object containing configurations specific for block diagrams.
|
||||
*
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BlockDiagramConfig".
|
||||
*/
|
||||
export interface BlockDiagramConfig extends BaseDiagramConfig {
|
||||
padding?: number;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BaseDiagramConfig".
|
||||
@@ -209,6 +198,15 @@ export interface BaseDiagramConfig {
|
||||
*/
|
||||
useMaxWidth?: boolean;
|
||||
}
|
||||
/**
|
||||
* The object containing configurations specific for block diagrams.
|
||||
*
|
||||
* This interface was referenced by `MermaidConfig`'s JSON-Schema
|
||||
* via the `definition` "BlockDiagramConfig".
|
||||
*/
|
||||
export interface BlockDiagramConfig extends BaseDiagramConfig {
|
||||
padding?: number;
|
||||
}
|
||||
/**
|
||||
* The object containing configurations specific for c4 diagrams
|
||||
*
|
||||
|
@@ -2060,6 +2060,8 @@ $defs: # JSON Schema definition (maybe we should move these to a separate file)
|
||||
unevaluatedProperties: false
|
||||
properties:
|
||||
padding:
|
||||
type: number
|
||||
minimum: 0
|
||||
default: 8
|
||||
|
||||
FontCalculator:
|
||||
|
Reference in New Issue
Block a user