diff --git a/.prettierignore b/.prettierignore index 2ab91f93e..b50a94e84 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,4 @@ coverage pnpm-lock.yaml stats packages/mermaid/src/docs/.vitepress/components.d.ts +.nyc_output diff --git a/cSpell.json b/cSpell.json index 5c79565f4..690c2bd33 100644 --- a/cSpell.json +++ b/cSpell.json @@ -40,6 +40,7 @@ "dompurify", "edgechromium", "elkjs", + "elle", "faber", "flatmap", "foswiki", @@ -86,6 +87,7 @@ "mkdocs", "mmorel", "mult", + "neurodiverse", "nextra", "orlandoni", "pathe", diff --git a/demos/classchart.html b/demos/classchart.html index b20dda2a3..508bb1066 100644 --- a/demos/classchart.html +++ b/demos/classchart.html @@ -154,6 +154,29 @@
+
+    classDiagram
+      A1 --> B1
+      namespace A {
+        class A1 {
+          +foo : string
+        }
+        class A2 {
+          +bar : int
+        }
+      }
+      namespace B {
+        class B1 {
+          +foo : bool
+        }
+        class B2 {
+          +bar : float
+        }
+      }
+      A2 --> B2
+    
+
+