antvis/G6

The issue has been closed
G6 version 5.0.17 Snapline cannot be disabled issue #6257
1282000569 posted onGitHub
Describe the bug / 问题描述
snapline插件 初始化属性autoSnap无法关闭对齐线
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
1、初始化 @antv/g6 5.0.17版本 2、vite vue3开发 3、插件引入设置: { type: 'snapline', key: 'snapline', autoSnap: false, filter: () => ['combo'] } 4、运行渲染,snapline一直可用,无法关闭
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Edge
Additional context / 补充说明
通过updatePlugin更新插件的方式也无法关闭