surfacedist()can find the nearest point to a given point. However, it measures the real distance along the surface, or along the edges.I'd like to measure the distance by topology distance. In other words, given a group of points
Pts, and a target point Target, I'd like to find the point among Ptsthat has shortest path to Target, assuming all the edges have a length of 1.How to achieve this? On paper it should be simpler than surfacedist, but I can't find a function that does this.
(I know I can implement a BFS algorithm in VEX, but is there a built-in or at least simpler way?)

