mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
updated test cases
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import { imgSnapshotTest } from '../../helpers/util';
|
import { imgSnapshotTest } from '../../helpers/util';
|
||||||
|
|
||||||
const looks = ['classic'] as const;
|
const looks = ['classic', 'handDrawn'] as const;
|
||||||
const directions = ['TB'] as const;
|
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
|
||||||
const forms = [undefined, 'square', 'circle'] as const;
|
const forms = [undefined, 'square', 'circle', 'rounded'] as const;
|
||||||
const labelPos = [undefined, 't', 'b'] as const;
|
const labelPos = [undefined, 't', 'b'] as const;
|
||||||
|
|
||||||
looks.forEach((look) => {
|
looks.forEach((look) => {
|
||||||
|
@@ -61,6 +61,18 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="display: flex; gap: 2rem; flex-direction: row">
|
<body style="display: flex; gap: 2rem; flex-direction: row">
|
||||||
|
<pre id="diagram4" class="mermaid">
|
||||||
|
flowchart LR
|
||||||
|
B2@{ icon: "fa:bell", form: "square", label: "B2 aiduaid uyawduad uaduabd uyduadb", pos: "t" }@
|
||||||
|
|
||||||
|
|
||||||
|
W --> B2
|
||||||
|
X --> B2
|
||||||
|
Y --> B2
|
||||||
|
Z --> B2
|
||||||
|
|
||||||
|
|
||||||
|
</pre>
|
||||||
<pre id="diagram4" class="mermaid">
|
<pre id="diagram4" class="mermaid">
|
||||||
flowchart TB
|
flowchart TB
|
||||||
A --test2--> B2@{ icon: "fa:bell", form: "rounded", label: "B2 aiduaid uyawduad uaduabd uyduadb", pos: "b" }@
|
A --test2--> B2@{ icon: "fa:bell", form: "rounded", label: "B2 aiduaid uyawduad uaduabd uyduadb", pos: "b" }@
|
||||||
|
Reference in New Issue
Block a user