mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Add default option for hideEmptyBox in config
This commit is contained in:
parent
b7790ba6b5
commit
3eb338df04
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[packages/mermaid/src/rendering-util/types.ts:117](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L117)
|
[packages/mermaid/src/rendering-util/types.ts:120](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L120)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[packages/mermaid/src/rendering-util/types.ts:116](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L116)
|
[packages/mermaid/src/rendering-util/types.ts:119](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L119)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -40,4 +40,4 @@
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[packages/mermaid/src/rendering-util/types.ts:115](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L115)
|
[packages/mermaid/src/rendering-util/types.ts:118](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/types.ts#L118)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[packages/mermaid/src/defaultConfig.ts:266](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/defaultConfig.ts#L266)
|
[packages/mermaid/src/defaultConfig.ts:269](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/defaultConfig.ts#L269)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -716,6 +716,7 @@ export interface ClassDiagramConfig extends BaseDiagramConfig {
|
|||||||
*/
|
*/
|
||||||
diagramPadding?: number;
|
diagramPadding?: number;
|
||||||
htmlLabels?: boolean;
|
htmlLabels?: boolean;
|
||||||
|
hideEmptyMembersBox?: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* The object containing configurations specific for entity relationship diagrams
|
* The object containing configurations specific for entity relationship diagrams
|
||||||
|
@ -52,6 +52,9 @@ const config: RequiredDeep<MermaidConfig> = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
class: {
|
||||||
|
hideEmptyMembersBox: false,
|
||||||
|
},
|
||||||
gantt: {
|
gantt: {
|
||||||
...defaultConfigJson.gantt,
|
...defaultConfigJson.gantt,
|
||||||
tickInterval: undefined,
|
tickInterval: undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user