antvis / antvis/G6

如何动态调整combo 收起和展开时,与相邻combo / 节点的距离

Open
#5,591 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

combo 内部子节点/子combo 很多时,外部combo 相对位置很远

### 重现链接

https://stackblitz.com/edit/react-s6bt2i?file=index.js

### 重现步骤

![combo 收起时间距问题](https://github.com/antvis/G6/assets/84183979/5749fb69-0d86-4268-abfe-1484d6cd026d)

### 预期行为

![初始化combo 收起时](https://github.com/antvis/G6/assets/84183979/9f1e1240-df94-48fe-b97a-15c87bbcfde7)

### 平台

- 操作系统: [macOS, React Native ...]
- 网页浏览器: [Google Chrome]
- G6 版本: [4.8.24 ]

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

_No response_

### 补充说明(可选)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the StackBlitz reproduction at index.js and compare combo collapse and expansion behavior in G6 4.8.24 with the supplied screenshots. Trace the combo layout and neighboring-node spacing behavior, then verify that expanding or collapsing a combo keeps adjacent elements at the expected distance.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.