Hello,
I want to connect Points A and B in with the shortest distances, but they also should cross each other the least amount possible, probably something like the picture.
Sorting the points distances purely by length would make some points have multiple connections and some points have no connections. It would be better if the connection is made in a way that produces the shortest total length, while also crossing each other.
In the exmplary picture, point 1 should connect to point B, although point A has a shorter distance. How should I think about this problem?
sonnenvektor matrix hilfe.gh (10.9 KB)




