Drag-Box multi-Link selection
See original GitHub issueAs you can see in the .gif
below we implemented a drag-box
selection that makes it possible to not only select multiple nodes. Furthermore it is possible to select multiple links.
The problem with our link-selection implementation is visible within the second row of nodes during the second half of the .gif
. If the link is not straight it is possible to select it while not touching it. This is because it’s evaluated as a rectangle containing the whole link.
So my question is: Is there a better way to evaluate the link as an object other than to package it as a rectangle?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
INSTALLATIONC
manufactured by Multilink Inc. Refer to the OPTIONS section of these instructions for ... Click the action type dropbox to show a list...
Read more >relinking multiple instances of the same link in Illustrator
I have the same issue still in middle of 2019 and I have to replace file 100 instances each time. Dropbox - ai_file_linking_issue.mov...
Read more >A replacement for the Multilinks extension? : r/firefox
There are a number that let you open links from selected text, so you drag and select text with links you want instead...
Read more >Multilink for bilingual language production
Lexical selection in bilinguals: Do words in the bilingual's two lexicons compete for selection? Journal of Memory and Language, 41 (3), ...
Read more >Box selection example
This example shows how to use a DragBox interaction to select features. Selected features are added to the feature overlay of a select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could do it, it’s just gonna take a lot of work. You will have to calculate the intersections with the calculated paths of the links, not just their bounds. The calculated paths aren’t available on the models (for obvious reasons), but you can use the Routers & PathGenerators to basically regenerate that path, & then run the intersections detection.
I don’t know if there is a C# library that can get you the intersections of shapes, especially SVG paths. However there is a JS one: https://github.com/thelonious/kld-intersections
@xevoryn Hi Can you please help with this svg node dragging selection?