antvis/G6

树图使用indented布局,direction为H,dropCap为false时,如何设置每一列的的节点上下间距 #5020

ali081809 posted onGitHub

问题描述

如下图

重现链接

重现步骤

预期行为

希望能够单独的设置间距,如何去修改呢,还是底层源码就不支持?

平台

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

屏幕截图或视频(可选)

image

补充说明(可选)

No response


Hi @ali081809, Please star this repo if you find it useful! Thanks :star:! 你好 @ali081809。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

暂不支持。可以在布局后手动 graph.updateItem 调整节点 x y

posted by Yanyan-Wang over 1 year 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