antvis/G6

Dagre Layout布局下,同一层次节点重合 #4347

zhl0916 posted onGitHub

Describe the bug

image image 以上配置导致两个节点重合

Your Example Website or App

https://codesandbox.io/s/naughty-blackburn-2kzuo7?file=/index.js

Steps to Reproduce the Bug or Issue

层次布局下,按照配置,节点位置会出现错乱

Expected behavior

节点均匀分布

Screenshots or Videos

No response

Platform

  • OS: [ Windows]
  • Browser: [Chrome]
  • Version: [105.0.5195.102]

Additional context

No response


那Dagre布局下,相同层次的节点之间就不能有连线了吗

posted by zhang867dong 12 months ago

那Dagre布局下,相同层次的节点之间就不能有连线了吗

是的,这种特殊情况需要自行进行布局定制

posted by Aarebecca 10 months ago

这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

posted by zhang867dong 10 months ago

Fund this Issue

$0.00
Funded

Pull requests