mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-15 10:14:21 +01:00
Merge of pull request #741
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 5.4 KiB |
@@ -27,6 +27,19 @@ describe('Flowcart', () => {
|
|||||||
{})
|
{})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('should render a simple flowchart with trapezoid and inverse trapezoid vertex options.', async () => {
|
||||||
|
await imgSnapshotTest(page, `
|
||||||
|
graph TD
|
||||||
|
A[/Christmas\\]
|
||||||
|
A -->|Get money| B[\\Go shopping/]
|
||||||
|
B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
|
||||||
|
C -->|One| D[/Laptop/]
|
||||||
|
C -->|Two| E[\\iPhone\\]
|
||||||
|
C -->|Three| F[Car]
|
||||||
|
`,
|
||||||
|
{})
|
||||||
|
})
|
||||||
|
|
||||||
it('should render a flowchart full of circles', async () => {
|
it('should render a flowchart full of circles', async () => {
|
||||||
await imgSnapshotTest(page, `
|
await imgSnapshotTest(page, `
|
||||||
graph LR
|
graph LR
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user