Optimized meshes in model node graphs