Recently I wanted to include a directed graph in a LaTeX document. I was running dot on the graph file
$ dot -Tps2 nfa.dot > nfa.eps

to receive the EPS file which I wanted to include in LaTeX. Running TeXShop with pdflatex for typesetting on a file containing
\begin{figure}[!htb]
\centering
\includegraphics[scale=.7]{nfa.eps}
\caption{Digraph.}
\label{fig:digraph}
\end{figure}

Thank you

Thanks!!!

Thanks! It works 😀