From c81f63b462a17a8f036a7295a5576d979c6ecf64 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 16 Apr 2025 21:53:01 -0400 Subject: [PATCH] spelling: id Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cypress/integration/rendering/gitGraph.spec.js | 14 +++++++------- demos/classchart.html | 10 +++++----- docs/syntax/requirementDiagram.md | 2 +- packages/mermaid-layout-elk/src/render.ts | 6 +++--- packages/mermaid/src/dagre-wrapper/GraphObjects.md | 2 +- packages/mermaid/src/diagrams/class/classDb.ts | 8 ++++---- packages/mermaid/src/diagrams/git/gitGraph.spec.ts | 6 +++--- packages/mermaid/src/diagrams/git/gitGraphAst.ts | 2 +- .../src/diagrams/mindmap/mindmapRenderer.ts | 2 +- .../mermaid/src/docs/syntax/requirementDiagram.md | 2 +- .../rendering-elements/shapes/requirementBox.ts | 2 +- 11 files changed, 28 insertions(+), 28 deletions(-) diff --git a/cypress/integration/rendering/gitGraph.spec.js b/cypress/integration/rendering/gitGraph.spec.js index 249febd08..42dc57439 100644 --- a/cypress/integration/rendering/gitGraph.spec.js +++ b/cypress/integration/rendering/gitGraph.spec.js @@ -11,7 +11,7 @@ describe('Git Graph diagram', () => { {} ); }); - it('2: should render a simple gitgraph with commit on main branch with Id', () => { + it('2: should render a simple gitgraph with commit on main branch with id', () => { imgSnapshotTest( `gitGraph commit id: "One" @@ -253,7 +253,7 @@ describe('Git Graph diagram', () => { ` gitGraph checkout main - %% Make sure to manually set the ID of all commits, for consistent visual tests + %% Make sure to manually set the id of all commits, for consistent visual tests commit id: "1-abcdefg" checkout main branch branch1 @@ -343,7 +343,7 @@ gitGraph {} ); }); - it('16: should render a simple gitgraph with commit on main branch with Id | Vertical Branch', () => { + it('16: should render a simple gitgraph with commit on main branch with id | Vertical Branch', () => { imgSnapshotTest( `gitGraph TB: commit id: "One" @@ -585,7 +585,7 @@ gitGraph ` gitGraph TB: checkout main - %% Make sure to manually set the ID of all commits, for consistent visual tests + %% Make sure to manually set the id of all commits, for consistent visual tests commit id: "1-abcdefg" checkout main branch branch1 @@ -1024,7 +1024,7 @@ gitGraph TB: {} ); }); - it('51: should render a simple gitgraph with commit on main branch with Id | Vertical Branch - Bottom-to-top', () => { + it('51: should render a simple gitgraph with commit on main branch with id | Vertical Branch - Bottom-to-top', () => { imgSnapshotTest( `gitGraph BT: commit id: "One" @@ -1266,7 +1266,7 @@ gitGraph TB: ` gitGraph BT: checkout main - %% Make sure to manually set the ID of all commits, for consistent visual tests + %% Make sure to manually set the id of all commits, for consistent visual tests commit id: "1-abcdefg" checkout main branch branch1 @@ -1491,7 +1491,7 @@ gitGraph TB: ` gitGraph switch main - %% Make sure to manually set the ID of all commits, for consistent visual tests + %% Make sure to manually set the id of all commits, for consistent visual tests commit id: "1-abcdefg" switch main branch branch1 diff --git a/demos/classchart.html b/demos/classchart.html index 980ea5098..10d8e6b70 100644 --- a/demos/classchart.html +++ b/demos/classchart.html @@ -148,7 +148,7 @@
classDiagram class Person { - +Id : Guid + +ID : Guid +FirstName : string +LastName : string -privateProperty : string @@ -218,10 +218,10 @@ +double side } } - + Shape <|-- Circle Shape <|-- Square - + namespace Vehicles { class Vehicle { +String brand @@ -233,12 +233,12 @@ +boolean hasGears } } - + Vehicle <|-- Car Vehicle <|-- Bike Car --> Circle : "Logo Shape" Bike --> Square : "Logo Shape" - +