antvis/G6


Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: In v4, when there is a combo layout, the edge cannot be placed at the bottom layer #6807
Deathyin posted onGitHub
Describe the bug / 问题描述
在v4版本包含combo的布局中,期望所有的边线均置于combo、node的底部,但实际上配置了goupByTypes: false,以及用了toFront、toBack等方法后也没有用。
但在v5中默认边线就在最底层,请问v4中有办法实现这个逻辑吗?
Reproduction link / 复现链接
https://g6-v4.antv.vision/examples/interaction/combo/#rect
Steps to Reproduce the Bug or Issue / 重现步骤
使用官方示例即可复现,在graph配置中添加goupByTypes: false,将所有combo、node用item.toFront(),将edge用item.toBack()改变层级后也没法实现
但是在v5版本中默认边线就是在最底层
v5 demo链接: https://g6.antv.antgroup.com/examples/behavior/combo/#basic
Version / 版本
4.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他