Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: collapse-expand support align option #6556

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

Aarebecca
Copy link
Contributor

  • 树图中节点展开收起支持配置 align 选项(默认为 true)

开启该选项时,展开收起操作始终保持目标元素位置不变(避免丢失目标)


  • Node expansion and collapse in tree graph supports configuring 'align' option (default is true) (Avoid losing the target)

When this option is on, the Expand and Collapse action always keeps the target element position unchanged

Relative Issue: #6494

开启效果:
Nov-25-2024 17-45-30

关闭效果:
Nov-25-2024 17-45-27

@Aarebecca Aarebecca force-pushed the refactor/node-collapse-expand branch 2 times, most recently from eb445ab to 1179e04 Compare November 26, 2024 07:25
@Aarebecca Aarebecca force-pushed the refactor/node-collapse-expand branch from 1179e04 to 51e5712 Compare November 26, 2024 07:26
@Aarebecca Aarebecca merged commit 23e6bf0 into v5 Nov 26, 2024
3 checks passed
@Aarebecca Aarebecca deleted the refactor/node-collapse-expand branch November 26, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants