Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unusual drawing occurs when there are a lot of polyline type lines #6364

Open
wjs0406 opened this issue Sep 25, 2024 · 0 comments
Open

Unusual drawing occurs when there are a lot of polyline type lines #6364

wjs0406 opened this issue Sep 25, 2024 · 0 comments

Comments

@wjs0406
Copy link

wjs0406 commented Sep 25, 2024

Describe the bug / 问题描述

polyline类型的连线,如果存在很多会导致绘制异常

[我的场景:我多个节点是水平排列的(y值相同),每个节点之间的连线都是多对多,我将链接桩自定义在节点上方(例如[[0.25,0,[0.5,0]]),连接线使用polyline模式,通过设置offset来保证每条线有一定的间隔
目前问题:在连接线较少的情况下没问题,但是连接线多的情况下就导致绘制乱套了,求指教。

4A92B559-1AD9-4af2-A9D1-2DE37D33D288

25B2EE0C-B416-434f-952B-A9F2CF1C75D7

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

@github-actions github-actions bot changed the title polyline类型线特别多时绘制异常 Unusual drawing occurs when there are a lot of polyline type lines Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant