Multiple start points - shortest paths Geonodes


Does anyone know how to have multiple start when using shortest path nodes?

I can do a simple root sort of thing easily enough, but I am not sure how to have multiple starts going to multiple ends without just chaining lots of this set up together with join geometry nodes. What I really want is the ability to select say, 5 vertices (at random) to be starts, and then proceed as normal as below. Sticking a random value into the equal B socket doesn’t work :smiley:

Ah, I just found this which seems to be what I need.

Thanks, me.