G6 icon indicating copy to clipboard operation
G6 copied to clipboard

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

Open zhl0916 opened this issue 1 year ago • 3 comments

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

zhl0916 avatar Jan 12 '23 03:01 zhl0916