antvis/G6

设置layer之后布局错乱 #4491

zhengjun924 posted onGitHub

问题描述

图一是想要的布局,但是最后一个节点layer的值必须大于8,若是设置为8之后就是图二了

重现链接

重现步骤

是用的https://g6.antv.antgroup.com/examples/net/dagreFlow/#basicDagre这个例子

预期行为

<img width="1145" alt="image" src="https://github.com/antvis/G6/assets/41844304/937b80e6-8495-43a7-b74e-b93495b3c8e4">

平台

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

屏幕截图或视频(可选)

<img width="1321" alt="image" src="https://github.com/antvis/G6/assets/41844304/4a8edca4-82e3-4106-a124-8cab943fa82f"> <img width="1293" alt="image" src="https://github.com/antvis/G6/assets/41844304/5212f2c0-24ce-4f38-85f8-088037adc194">

补充说明(可选)

No response


没太明白,可能图片顺序问题,看起来好像还挺符合预期的?

posted by Yanyan-Wang almost 2 years ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests