mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 20:24:16 +01:00
fix flowchart subgraph label
This commit is contained in:
@@ -39,7 +39,7 @@ const rect = async (parent, node) => {
|
|||||||
const text = await createText(labelEl, node.label, {
|
const text = await createText(labelEl, node.label, {
|
||||||
style: node.labelStyle,
|
style: node.labelStyle,
|
||||||
useHtmlLabels,
|
useHtmlLabels,
|
||||||
isNode: false,
|
isNode: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get the size of the label
|
// Get the size of the label
|
||||||
|
|||||||
Reference in New Issue
Block a user