antvis/G6
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Unusual drawing occurs when there are a lot of polyline type lines #6364
wjs0406 posted onGitHub
Describe the bug / 问题描述
polyline类型的连线,如果存在很多会导致绘制异常
[我的场景:我多个节点是水平排列的(y值相同),每个节点之间的连线都是多对多,我将链接桩自定义在节点上方(例如[[0.25,0,[0.5,0]]),连接线使用polyline模式,通过设置offset来保证每条线有一定的间隔 目前问题:在连接线较少的情况下没问题,但是连接线多的情况下就导致绘制乱套了,求指教。
Reproduction link / 重现链接
https://stackblitz.com/edit/react-sb7gk6?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
No response