updated test cases

This commit is contained in:
saurabhg772244
2024-09-11 13:16:23 +05:30
parent 5e34810335
commit 7963ad9b20
2 changed files with 15 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
import { imgSnapshotTest } from '../../helpers/util';
const looks = ['classic'] as const;
const directions = ['TB'] as const;
const forms = [undefined, 'square', 'circle'] as const;
const looks = ['classic', 'handDrawn'] as const;
const directions = ['TB', 'BT', 'LR', 'RL'] as const;
const forms = [undefined, 'square', 'circle', 'rounded'] as const;
const labelPos = [undefined, 't', 'b'] as const;
looks.forEach((look) => {

View File

@@ -61,6 +61,18 @@
</head>
<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">
flowchart TB
A --test2--> B2@{ icon: "fa:bell", form: "rounded", label: "B2 aiduaid uyawduad uaduabd uyduadb", pos: "b" }@