antvis / antvis/G6

树图使用indented布局,direction为H时,root节点的左右两侧节点无法同时顶部对齐

Open
#4,853 4 comments 0 reactions 0 assignees View on GitHub
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 ... ]

### 屏幕截图或视频(可选)

a562f9d96a0174fd62a72c714b060791edb5be2817954996b0e81209fa57abf9QzpcVXNlcnNcMTMzMDVcQXBwRGF0YVxSb2FtaW5nXERpbmdUYWxrXDE0MTQxMTk4NTRfdjJcSW1hZ2VGaWxlc1wxNjkyOTQ4MzE1ODU1XzA5MEU2OUM1LTA3NjYtNGIxNC1BQTcwLUM3M0FCRkQxNTA0RS5wbmc=

### 补充说明(可选)

_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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.