\documentclass{article}
\usepackage{com.braju.graphicalmodels}
\usepackage{amsmath}
% \special{papersize=40mm,80mm}
% \setlength{\pdfpagewidth}{40mm}
% \setlength{\pdfpageheight}{80mm}
% \usepackage[vcentering,dvips]{geometry}
% \geometry{papersize={80mm,120mm},total={80mm,120mm},margin=0mm}



\catcode`\@=11%

\pagestyle{empty}

\begin{document}
\TeXtoEPS

\LARGE
\psset{unit=10mm,arrowscale=1.5,linewidth=1.5pt}

\begin{pspicture}(0,0)(4,6)
  \SpecialCoor

  \rput(1,1){\circlenode{x4}{$x_4$}}
  \rput(3,1){\circlenode{x5}{$x_5$}}
  \rput(2,3){\circlenode{x3}{$x_3$}}
  \rput(1,5){\circlenode{x1}{$x_1$}}
  \rput(3,5){\circlenode{x2}{$x_2$}}
     
  \ncline{->}{x1}{x3}
  \ncline{->}{x2}{x3}
  \ncline{->}{x3}{x4}
  \ncline{->}{x3}{x5}
     
\end{pspicture}

\endTeXtoEPS
\end{document}
