Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: Drag element, event onDragStart #6734
WolfVerrron18 posted onGitHub
Describe the bug / 问题描述
Incorrect processing of the FrontElement graph function, when capturing a combo, it does not take into account the fact that the nodes lying in it may contain edges from the outside
From the function getSubgraphRelatedEdges only the array of internal is taken, not taking into account the external, because of which visually edges that stretch from other nodes to combo nodes visually go to the buildings of the background
Reproduction link / 复现链接
https://stackblitz.com/edit/vitejs-vite-c142bq89?file=src%2FApp.vue
Steps to Reproduce the Bug or Issue / 重现步骤
Trigger the onDragStart event on the combo and you will see how edge nodes stretching to nodes inside the combo get a smaller zIndex and fade into the background
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他