This is where the topology output comes into play. If you connect it to a Polygons Topology Get node it provides the connection between a vertex and it's matching UV coordinate, as well as the UV polygons (outlines), which can be quite different from the geometry polygons.