zig zag lines in the eye which lasts for a short time
Since you said so little, I can only guess that you're asking if these zig-zag lines are part of a Migraine. The answer is that nobody can answer that and diagnose you online.
Certainly, this sounds as if it could be a symptom of Migraine aura. A good article for you to take a look at to learn more about this is Anatomy of a Migraine. If this is from Migraine, you shoud have other symptoms as well, and the article will explain that.
It could be Migraine, but it could also be something else entirely. Please see your doctor about this for diagnosis.
Call your Dr. and do you have a headache? You didn't say much here?