# How can I add flowchart in WinEdt?

I am beginner and writing paper using WinEdt. I used tikz package to draw the diagrams in TeXworks which generated .tex and .pdf files. But I can't add it to the WinEdt. Help?

-
I tried this: \usepackage{graphicx} \begin(figure)[h] \centering \includegraphics[width=1.00\textwidth]{diags.pdf} //diags is in same folder \end{figure} –  Sami Dec 20 '13 at 21:09
Welcome to TeX.SX! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  karlkoeller Dec 29 '13 at 8:21
The obvious error in your code snippet is that you have (figure) (parens) instead of {figure} (braces). Does that fix the problem? –  Torbjørn T. Jan 5 at 11:26