Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Select the closest edge, not just any nearby #1922

Merged
merged 1 commit into from
Sep 13, 2016
Merged

Select the closest edge, not just any nearby #1922

merged 1 commit into from
Sep 13, 2016

Conversation

root9b-zz
Copy link
Contributor

This helps quite a bit for complex graphs with dense connections, where many edges are packed into a small space. With the default algorithm, any edge within 10 of the mouse will get selected, so there are often edges you are unable to select at all even though you can see them, because others are nearby. With this patch, you can be much more precise with where you are clicking and which edge you are selecting.

@mojoaxel mojoaxel added this to the v4.17 milestone Sep 4, 2016
@mojoaxel
Copy link
Member

The issue descriped is realy easy to reproduce with the worldCup example.

@mojoaxel
Copy link
Member

I tested it. Looks Good!

@mojoaxel mojoaxel merged commit d5e8a14 into almende:develop Sep 13, 2016
@mojoaxel
Copy link
Member

@root9b Thanks very much! Nice improvement! Sorry that you had to wait so long for this to get merged.

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

Successfully merging this pull request may close these issues.

2 participants