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

[Feature]: 新增边文本的点击事件或者将其绑定到边上 #1500

Open
HeLinSpace opened this issue Feb 20, 2024 · 0 comments
Open

Comments

@HeLinSpace
Copy link

HeLinSpace commented Feb 20, 2024

背景&目的

在自定义开发的过程中需要将一些属性绑定到边上 但是当边的文本内容过多时会出现不太容易选中边的情况 同时按照部分用户的习惯当边上有文本时会直接点击文本 因此需要边文本的点击事件 或者点击边文本时触发边的点击事件
万分感谢!!!!

补充,我这边看到示例的demo 不管时react 还是vue的 点击文本都能选中边 我这边的项目使用的是 VUE3 hover效果有 但是点击没有选中效果

开启边文本可拖拽后点击文本就不可选中了 edgeTextDraggable: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant