Hey welcome back
so this is because when we “morph” a line from a previous one we do not automatically update the bounding box, so at some point the lines will disappear because they will be removed by the frustum culling
Just add this line to fix your problem:
links_arr[i].geom.alwaysSelectAsActiveMesh = true;