Add extra test

This commit is contained in:
Sidharth Vinod 2024-03-23 17:37:45 +05:30
parent b78f16ef19
commit dbb69ad7cd
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 24 additions and 1 deletions

View File

@ -773,7 +773,6 @@ A ~~~ B
C
end
subgraph Y
direction LR
B
D
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('html labels', () => {
it('With styling and classes', () => {