antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

[5] Regarding the problem that the node spacing is halved after the collapse-expand event or expandElement is expanded in the polyline setting #6288

zhangjinhao-work posted onGitHub

Describe the bug / 问题描述

当我设置了nodeSep,和rankSep 值为100 时,collapse-expand事件或者expandElement展开事件后,节点之间的间距变成一半了变成50了 lQLPJwnuy6gR9d_NArPNAzewi6ZaQKc4-cUGwxW4dFPpAA_823_691

No response

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

https://github.com/user-attachments/assets/1b900fec-8172-4d50-bbd4-8291d69bfe1a

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


这个是 dagre 布局的问题,需要手动执行一下 graph.layout()

posted by yvonneyx 6 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests