Skip to content
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

Centroid connector not always linking to the nearest "eligible link" #286

Open
daniloebbinghaus opened this issue Dec 3, 2021 · 0 comments

Comments

@daniloebbinghaus
Copy link
Contributor

The centroid connectors are not always linking the centroids to the nearest "eligible link". Here I'm calling "eligible links" those links whose link_type values have been set to be looked up when running "zone.connect_mode(...)". Sometimes the centroid connectors link the centroids to very far away eligible links, while there's an eligible link located much closer to the centroid.

In the example below, the link_types 't' and 'c' have been set to be looked up. However, the centroid connector (black link) related to centroid 55883 has not been created to link the centroid to the nearest eligible link, which would be the one selected in red.

image

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

No branches or pull requests

1 participant