mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-14 22:09:29 +02:00
Merge pull request #6801 from mermaid-js/sidv/fixID
fix: Casing of ID in requirement diagram
This commit is contained in:
5
.changeset/large-mirrors-cheer.md
Normal file
5
.changeset/large-mirrors-cheer.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'mermaid': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: Update casing of ID in requirement diagram
|
@@ -54,7 +54,7 @@ export async function requirementBox<T extends SVGGraphicsElement>(
|
|||||||
if (isRequirementNode) {
|
if (isRequirementNode) {
|
||||||
const idHeight = await addText(
|
const idHeight = await addText(
|
||||||
shapeSvg,
|
shapeSvg,
|
||||||
`${requirementNode.requirementId ? `id: ${requirementNode.requirementId}` : ''}`,
|
`${requirementNode.requirementId ? `ID: ${requirementNode.requirementId}` : ''}`,
|
||||||
accumulativeHeight,
|
accumulativeHeight,
|
||||||
node.labelStyle
|
node.labelStyle
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user