mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-01 06:36:40 +02:00
Add extra test
This commit is contained in:
@@ -773,7 +773,6 @@ A ~~~ B
|
|||||||
C
|
C
|
||||||
end
|
end
|
||||||
subgraph Y
|
subgraph Y
|
||||||
direction LR
|
|
||||||
B
|
B
|
||||||
D
|
D
|
||||||
end
|
end
|
||||||
@@ -782,6 +781,30 @@ A ~~~ B
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('3258: Should render subgraphs with large nodeSpacing and rankSpacing', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`---
|
||||||
|
title: Subgraph nodeSpacing and rankSpacing example
|
||||||
|
config:
|
||||||
|
flowchart:
|
||||||
|
nodeSpacing: 250
|
||||||
|
rankSpacing: 250
|
||||||
|
---
|
||||||
|
flowchart LR
|
||||||
|
X --> Y
|
||||||
|
subgraph X
|
||||||
|
direction LR
|
||||||
|
A
|
||||||
|
C
|
||||||
|
end
|
||||||
|
subgraph Y
|
||||||
|
B
|
||||||
|
D
|
||||||
|
end
|
||||||
|
`
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
describe('Markdown strings flowchart (#4220)', () => {
|
describe('Markdown strings flowchart (#4220)', () => {
|
||||||
describe('html labels', () => {
|
describe('html labels', () => {
|
||||||
it('With styling and classes', () => {
|
it('With styling and classes', () => {
|
||||||
|
Reference in New Issue
Block a user