\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)(6,6)
  \SpecialCoor

  \rput(3.0,1.0){\circlenode{n3}{$3$}}
  \rput(2.0,2.0){\fnode{f34}}
  \rput(1.0,3.0){\circlenode{n4}{$4$}}
  \rput(3.0,3.0){\fnode{f24}}
  \rput(5.0,3.0){\circlenode{n2}{$2$}}
  \rput(4.0,2.0){\fnode{f23}}
  \rput(2.0,4.0){\fnode{f14}}
  \rput(4.0,4.0){\fnode{f12}}
  \rput(3.0,5.0){\circlenode{n1}{$1$}}

  \ncline{n1}{f14}
  \ncline{n1}{f12}
  \ncline{n4}{f14}
  \ncline{n4}{f24}
  \ncline{n4}{f34}
  \ncline{n2}{f12}
  \ncline{n2}{f24}
  \ncline{n2}{f23}
  \ncline{n3}{f34}
  \ncline{n3}{f23}
       
\end{pspicture}

\endTeXtoEPS
\end{document}
