Merge pull request #7099 from mermaid-js/fix/mindmap-level-node-rendering

7000: Fix mindmap rendering issue when Level 2 nodes exceed 11
This commit is contained in:
Sidharth Vinod
2025-11-14 12:21:56 +00:00
committed by GitHub
5 changed files with 66 additions and 2 deletions

View File

@@ -247,5 +247,31 @@ root
);
});
});
describe('Level 2 nodes exceeding 11', () => {
it('should render all Level 2 nodes correctly when there are more than 11', () => {
imgSnapshotTest(
`mindmap
root
Node1
Node2
Node3
Node4
Node5
Node6
Node7
Node8
Node9
Node10
Node11
Node12
Node13
Node14
Node15`,
{},
undefined,
shouldHaveRoot
);
});
});
/* The end */
});