antvis/G6

使用grid布局的时候,配置了cols和sortby字段,能否在布局节点的时候从右到左进行排布? #4991

XiaoRIGE posted onGitHub

问题描述

grid布局能否配置节点布局从右至左按照排布规则进行排布

重现链接

www.test.com

重现步骤

grid布局能否配置节点布局从右至左按照排布规则进行排布

预期行为

1.希望将grid布局的节点以配置列(cols)进行布局,先把最右侧铺满后再往左侧平铺,现在是先铺满左侧。 2.配置了cols和sortBy,sortBy配置字段为linkSystemNum,希望实现的布局是按照linkSystemNum从右至左,从上至下布局。现在是从左到右,从上到下。

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


不管配置cols还是rows,节点都是按照顺序从左到右先排满,然后进行下一行的排布。我该如何才能让我度数高的节点以列的方式排满后再往下一列去排布?

posted by XiaoRIGE 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