mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-30 10:24:12 +01:00
Add: demo for notes in namespace on classDialog
This commit is contained in:
@@ -183,6 +183,19 @@
|
|||||||
</pre>
|
</pre>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<pre class="mermaid">
|
||||||
|
classDiagram
|
||||||
|
note "This is a outer note"
|
||||||
|
note for Class1 "This is a outer note for Class1"
|
||||||
|
namespace ns {
|
||||||
|
note "This is a inner note"
|
||||||
|
note for Class1 "This is a inner note for Class1"
|
||||||
|
class Class1
|
||||||
|
class Class2
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
<hr />
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import mermaid from './mermaid.esm.mjs';
|
import mermaid from './mermaid.esm.mjs';
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
|
|||||||
Reference in New Issue
Block a user