antvis / antvis/G6

How to control the position of the nodes during the axpend process and the collapsed for the cilldren of node that is collapsed and the nodes that from both sides to the node that was clicked on

Open
#6,014 4 comments 0 reactions 0 assignees View on GitHub
behavior v5
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

I am using indented layout and i want to control the collapse and expand behavior for the nodes position, like i want when the user clicked the collapse button the nodes from both sides not change the x and y position until I chang it by my condition, and the children position for the nodes that will be expand...

### Reproduction link / 重现链接

Nothing

### Steps to Reproduce the Bug or Issue / 重现步骤

Nothing

### G6 Version / G6 版本

🆕 5.x

### Operating System / 操作系统

Windows

### Browser / 浏览器

Chrome, Edge, Firefox

### Additional context / 补充说明

Test

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names G6's indented layout and version 5.x but provides no reproduction, files, tests, or entry point. Start by locating the indented-layout collapse and expand API, then clarify the expected x/y behavior for neighboring and child nodes. Done requires a reproducible case and an agreed, testable position outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.