Topology of the lattice of vortices in neutron stars