antvis/G6

使用dagre布局时,layer控制节点层级布局错乱 #4207

zhl0916 posted onGitHub

Describe the bug

使用dagre布局,layer控制节点层级,首次出现同级节点之间有连线的会导致布局失败

Your Example Website or App

https://g6.antv.antgroup.com/manual/middle/elements/methods/multi-line#gatsby-focus-wrapper

Steps to Reproduce the Bug or Issue

Expected behavior

布局失败 image image 期望结果 image

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response


dagre布局的layer本身就是source的layer必须小于target的layer

posted by WangHanZ 10 months 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