Find relation between Path.path and Path.vectorPath

There is any way to get a relation between the path and process path? For example, from node 0 to 1 it uses vectorPath 2,3,4?

I think that for simple modifiers I can use something like 2 for 1. And for funnel modifier?

I am prototyping in a grid (for easy physic, movement, ai, object placements) but want to have a smothing move animation. My intetion is to move using Path.vectorPath and update my grid with Path.path. I can not update my grid using vectorPath positions because sometimes the modifier creates points outside the grid cell generating a invalid path.

Any tips?

After write this, I have a idea. I can move in vectorPath and use nearest node in path to create this relation. It works.