My initial idea was that maybe there was a info node for that, but I don't think there is...
So, then I thought that maybe it could be done using raycasts? That go off on each vertex and the two first (smallest edge) / last (biggest edge) to find another vertex are the ones? Raycasts are something I never explored and I also have very little knowledge on indexes (for selecting the vertices).
Basically the use case was to get the length of that edge, but to make it more versatile for other situations it would be useful that it could also select the exact points on a index that correspond to those ones.
Could anybody help me with this, please?