chnages from knut

This commit is contained in:
Ashish Jain 2024-07-03 11:34:40 +02:00
commit 8aa85d72de
3 changed files with 10029 additions and 7922 deletions

View File

@ -870,7 +870,7 @@ export const getData = () => {
label: subGraph.title,
labelStyle: '',
parentId: parentDB.get(subGraph.id),
padding: config.flowchart?.padding ?? 8,
padding: 8,
cssCompiledStyles: getCompiledStyles(subGraph.classes),
cssClasses: subGraph.classes.join(' '),
shape: 'rect',

View File

@ -62,7 +62,7 @@ export const draw = async function (text: string, id: string, _version: string,
data4Layout.diagramId = id;
log.debug('REF1:', data4Layout);
await render(data4Layout, svg, element);
const padding = 8;
const padding = data4Layout.config.flowchart?.padding ?? 8;
utils.insertTitle(
element,
'statediagramTitleText',

17947
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff