fix flowchart title class

This commit is contained in:
Ashish Jain 2024-07-10 11:26:16 +02:00
parent fe22a5f7b3
commit aa279f6410

View File

@ -52,7 +52,7 @@ export const draw = async function (text: string, id: string, _version: string,
const padding = data4Layout.config.flowchart?.padding ?? 8;
utils.insertTitle(
element,
'statediagramTitleText',
'flowchartTitleText',
conf?.titleTopMargin || 0,
diag.db.getDiagramTitle()
);