Techart, Blender, Geometry Node, Procedural, Programming.
iterate through all islands, and delete all vertices that dont belong to the specific island. The above does that, though there are some complications. What we want to do is to go over each island, and if the vertices don’t belong to a specific island index, we delete them. This baisically means