antvis/G6


The issue has been closed
Decision Tree, if I set the chart layout to "Right-Left", some items are not aligned with other items which in the same level #5291
H48530 posted onGitHub
G6 Version
4.x
Describe the bug
Decision Tree, if I set the chart layout to "Right-Left", some items are not aligned with other items which in the same level
Your Example Website or App
https://g6.antv.antgroup.com/examples/case/treeDemos/#decisionTree
Steps to Reproduce the Bug or Issue
when 'direction' is changing, nodes in the layout will be misaligned
Expected behavior
the node aligned with the same level.
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response