mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-02 02:24:20 +01:00
Removing requirement to add ids for nodes with a shape
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
display: none;
|
||||
}
|
||||
.mermaid {
|
||||
|
||||
}
|
||||
.mermaid svg {
|
||||
border: 1px solid purple;
|
||||
@@ -45,8 +44,8 @@
|
||||
<body>
|
||||
<pre class="mermaid" style="width: 50%">
|
||||
mindmap
|
||||
apa
|
||||
bapa
|
||||
[apa]
|
||||
))bapa((
|
||||
</pre>
|
||||
<pre class="mermaid2" style="width: 50%">
|
||||
flowchart TD
|
||||
@@ -62,21 +61,14 @@ flowchart TD
|
||||
end
|
||||
end
|
||||
|
||||
</div>
|
||||
<div class="mermaid2" style="width: 50%;">
|
||||
flowchart TD
|
||||
id
|
||||
</div>
|
||||
<pre class="mermaid2" style="width: 50%;">
|
||||
</pre>
|
||||
|
||||
<pre class="mermaid2" style="width: 50%">
|
||||
flowchart LR
|
||||
a["<strong>Haiya</strong>"]===>b
|
||||
</pre>
|
||||
<div class="mermaid2" style="width: 50%;">
|
||||
flowchart TD
|
||||
A --> B
|
||||
A --> C
|
||||
B --> C
|
||||
</pre>
|
||||
</pre
|
||||
>
|
||||
<div class="mermaid2" style="width: 50%">flowchart TD A --> B A --> C B --> C</div>
|
||||
<pre class="mermaid2" style="width: 50%">
|
||||
flowchart TD
|
||||
A([stadium shape test])
|
||||
@@ -90,17 +82,12 @@ flowchart TD
|
||||
classDef someclass fill:#f96;
|
||||
class A someclass;
|
||||
class C someclass;
|
||||
</div>
|
||||
<div class="mermaid2" style="width: 50%;">
|
||||
sequenceDiagram
|
||||
title: My Sequence Diagram Title
|
||||
accTitle: My Acc Sequence Diagram
|
||||
accDescr: My Sequence Diagram Description
|
||||
|
||||
Alice->>John: Hello John, how are you?
|
||||
John-->>Alice: Great!
|
||||
Alice-)John: See you later!
|
||||
</pre>
|
||||
<div class="mermaid2" style="width: 50%">
|
||||
sequenceDiagram title: My Sequence Diagram Title accTitle: My Acc Sequence Diagram accDescr:
|
||||
My Sequence Diagram Description Alice->>John: Hello John, how are you? John-->>Alice: Great!
|
||||
Alice-)John: See you later!
|
||||
</div>
|
||||
<pre class="mermaid2" style="width: 50%">
|
||||
graph TD
|
||||
A -->|000| B
|
||||
|
||||
Reference in New Issue
Block a user