antvis/G6

dagre布局生成后里面的节点位置怎么自我调整 #5403

AthrunLLH posted onGitHub

问题描述

Snipaste_2024-01-31_18-34-30 Snipaste_2024-01-31_18-36-07 combo的位置没有很好的对齐,然后我需要放的流程位置也不是很正常

重现链接

暂无

重现步骤

输入了对应的节点信息以及连线,然后使用了dagre布局

预期行为

我希望调整之后是像图二一样的,在代码中应该如何去设置呢

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


可以通过调整节点的顺序来实现。比如将红色框里的”采购项目委托“的节点对应的数据,放在”采购方案“对应的节点数据后面

posted by yangyili 11 months ago
posted by Aarebecca 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] 6 months ago

Fund this Issue

$0.00
Funded

Pull requests