mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
chnages from knut
This commit is contained in:
commit
8aa85d72de
@ -870,7 +870,7 @@ export const getData = () => {
|
|||||||
label: subGraph.title,
|
label: subGraph.title,
|
||||||
labelStyle: '',
|
labelStyle: '',
|
||||||
parentId: parentDB.get(subGraph.id),
|
parentId: parentDB.get(subGraph.id),
|
||||||
padding: config.flowchart?.padding ?? 8,
|
padding: 8,
|
||||||
cssCompiledStyles: getCompiledStyles(subGraph.classes),
|
cssCompiledStyles: getCompiledStyles(subGraph.classes),
|
||||||
cssClasses: subGraph.classes.join(' '),
|
cssClasses: subGraph.classes.join(' '),
|
||||||
shape: 'rect',
|
shape: 'rect',
|
||||||
|
@ -62,7 +62,7 @@ export const draw = async function (text: string, id: string, _version: string,
|
|||||||
data4Layout.diagramId = id;
|
data4Layout.diagramId = id;
|
||||||
log.debug('REF1:', data4Layout);
|
log.debug('REF1:', data4Layout);
|
||||||
await render(data4Layout, svg, element);
|
await render(data4Layout, svg, element);
|
||||||
const padding = 8;
|
const padding = data4Layout.config.flowchart?.padding ?? 8;
|
||||||
utils.insertTitle(
|
utils.insertTitle(
|
||||||
element,
|
element,
|
||||||
'statediagramTitleText',
|
'statediagramTitleText',
|
||||||
|
17947
pnpm-lock.yaml
generated
17947
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user