antvis / antvis/G6

[Feat]: Graph.layout()或者Graph.layout()重新渲染问题

Open
#7,549 1 comment 0 reactions 0 assignees View on GitHub
feature 💡
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature / 功能描述

如果第三层有一个数据过多会导致第二层相邻节点间距变大,此时折叠,第二层间距较大的两个节点不会重新渲染,如果调用Graph.layout()或者Graph.layout()重新渲染的话,动画又是全局都从根节点开始,可不可以如果有上一次的位置就从上一次的位置过度到新位置而不是从根节点,或者有没有现配置选项或者api可以配置的

### Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Graph.layout() entry point and the collapse-and-rerender flow. Reproduce the case where a crowded third level expands spacing between second-level nodes, then collapse it and observe the animation. Done means the affected nodes rerender with their previous positions when available instead of all animating from the root, or the supported configuration/API is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
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.