Skip to content

收缩后,怎么更新布局 #3944

@Hantongya

Description

@Hantongya

问题描述

点击收缩按钮后,节点收缩后,但是整体布局没有自适应,怎么解决呢?

重现链接

https://x6.antv.vision/zh/examples/showcase/practices#tree

重现步骤

点击收缩按钮

预期行为

点击收缩按钮后,节点收缩后,整体布局也可以自适应,如下图红框位置变小

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: discussion 讨论Usage questions, guidance, and other discussions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions