jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.78k stars 743 forks source link

How Can i show cross icon using click instated of right click. In line between two node #843

Open parthsavaliya1 opened 7 months ago

parthsavaliya1 commented 7 months ago

I want to show cross icon when user click on connection line instead of right click Screenshot from 2024-03-30 14-37-22

I want to change this left click press to show remove option Screenshot from 2024-03-30 15-12-43

jerosoler commented 7 months ago

You can try something like:

parthsavaliya1 commented 7 months ago

@jerosoler Yes. this is right but cross icon still shown when user click on right click. cross icon should not be shown when user click on right click. i want to show cross icon only when user click on left click

parthsavaliya1 commented 7 months ago

How can i disable double click and right click only on connection line.

parthsavaliya1 commented 7 months ago

@jerosoler is there any solution for this?