How to get shortest distance from vertice A to B with edges as path?

proximity weight of vertices with random point as target.gh (40.3 KB)

As titled.
I don’t mean geodesic distance, but shortest path between vertices using edges as paths.

Why I need this?
I like to get proximity attribute of vertices of a non planar mesh to multiple attractors generated on the mesh. Apparently there are many shortest path post on this forum, but oddly enough I could not find vertice to vertice case after hours. So let me just ask, Thanks!

Hi Quan,

Have you taken a look at this before?

I’ve used it successfully for a similar problem but essentially it lets you create graphs from points or lines and can solve between A to B

Try with shortest walk plugin

proximity weight of vertices with random point as target.gh (46.3 KB)

2 Likes

Thank you very much! I got it!