-
Notifications
You must be signed in to change notification settings - Fork 173
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
Link dblclick segmentable #431
base: develop
Are you sure you want to change the base?
Link dblclick segmentable #431
Conversation
Hello, I tried to utilize your modification through inheritance, but I don't how to "replace" the original widget and renderer with yours, I can't seem to find where it was registered in the vanilla source code. |
I am not quite sure that it can be done at all! Since I have multiple PR that are not being merged I ended up just using my fork directly. I have a "up-to-date" branch that I merged my other branches in it, and I keep it up to date with this repo. That way I have the updates and my own changes : https://github.com/snakex64/Blazor.Diagrams/tree/up-to-date Then, in my actual project, I just added that branche as a subrepo git and reference the csproj directly instead of the official nuget package :) |
OK, thanks. Btw, I have figured out how to implement your changes through inheritance (finally!): How to implement Pull Requests that is not yet being merged |
I added a new option to make link segmentable only with double click instead of single clicks.
I also took the opportunity to add events for vertex added and removed, since there was no way of knowing the vertex changed other than cycling through all of them everytime there is a "Changed" event