树图使用indented布局,direction为H时,root节点的左右两侧节点无法同时顶部对齐
Open
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
使用dropCap: false了之后,只有一侧是正常顶部对齐的,如何让两侧都跟root节点顶部对齐呢????
### 重现链接
无
### 重现步骤
设置了dropCap: false,之后,仅有一侧能够跟root节点顶部对齐
### 预期行为
两侧节点都能够对齐顶部
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [4.5.1 ... ]
### 屏幕截图或视频(可选)
### 补充说明(可选)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is identified. Reproduce the tree layout with indented layout, direction H, and dropCap set to false, then compare the top alignment of nodes on both sides of the root. Done means both sides align with the root at the top.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100