-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
When network is in addEdgeMode, dragView doesn't work #174
Comments
Hi @stevenlafl, could you provide an MWE, please? Because if I put |
What comes to my mind is that the nodes can't be dragged but their positions are not fixed. That is if you have enabled physics the new edge will move the nodes it's connected to. To prevent this you have to use |
It's |
That's indeed a bug. I can confirm that. |
Formelly manipulation system reimplemented dragging instead of using interaction to handle it. This resulted to interaction options being ignored during edge editing and adding. Forwarding the events to interaction handler solves these issues. Closes #174.
Could you try if https://thomaash.github.io/cdn/vis-network.5f753610cc88ac3ff0052747e9863e7f.js works properly in your project? Thanks. |
It does indeed. Thank you! |
I'm glad to read that. You're welcome. |
Formelly manipulation system reimplemented dragging instead of using interaction to handle it. This resulted to interaction options being ignored during edge editing and adding. Forwarding the events to interaction handler solves these issues. Closes #174.
🎉 This issue has been resolved in version 6.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I have same issue. Any one can help ? |
For my use case, I just wanted to use Network to create edges between nodes at the moment. I'll be controlling the viewport, so I don't need users to be able to drag the viewport.
does not result in the desired behavior when in addEdgeMode. This contradicts https://visjs.github.io/vis-network/docs/network/interaction.html
Linux, Chrome
The text was updated successfully, but these errors were encountered: