I want to draw this picture in LaTeX. I am using tikz package for drawing. I am using overleaf to create this document.
I wrote this code:
\begin{figure}
\centering
\begin{tikzpicture}
\draw[->][thick](0,0) to (6,0)
\draw[->](4,3) to (6,2)
\end{tikzpicture}
\caption{Timeline}
\label{fig:my_label1}
\end{figure}
But it take huge time to compile and after compile throw a error message. Timed out. Sorry, your compile took too long to run and timed out. This may be due to a large number of high-res images, or complicated diagrams.
Now if I draw just one line in between two lines this code run well. But when both the line drawing command activate it give a error.
Can any one tell me what is the problem?


;after each line. I.e.,\draw .. ;. Plus the first one should be\draw[thick,->] .. ;. – Manuel Dec 11 '18 at 23:40\draw[->][thick](0,0) to (6,0);and\draw[->,thick](0,0) to (6,0);do the same, but of course you are right about the;s. – Dec 12 '18 at 04:10