\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}(-1,0)(10,9)
  \SpecialCoor

  \fnode[framesize=20pt](4,1){B_kv}
  \GM@label[angle=-180]{B_kv}{$\boldsymbol{B}_{K,V}$}   
     
  \rput(4,4){\rnode{n_i}{\psovalbox*[fillcolor=gray]{\huge \phantom{bbbbbbbbbbbbb}}}}  
  \rput(2,4){\rnode{n_i1}{$n_{i,1}$}}
  \rput(4,4){\GM@ldots{n_i2}}
  \rput(6,4){\rnode{n_iv}{$n_{i,V}$}}
  
  \rput(4,6){\ovalnode{pi_i}{\phantom{abcd}}}
  \rput(4,6){$\boldsymbol{\pi}_i$}  
  
  \rput(4,8.5){\GM@node[observed=true]{alpha}}
  \GM@label[angle=90]{alpha}{$\alpha$}  
  
  \rput(9,4){\GM@node[observed=true]{L_i}}
  \GM@label[angle=90]{L_i}{$L_i$}  
  
  \rput(-0.5,2.3){\GM@plate{11}{5}{N}}  
  
  \ncline{->}{B_kv}{n_i}
  \ncline{->}{pi_i}{n_i}
  \ncline{->}{alpha}{pi_i}
  \ncline{->}{L_i}{n_i}    
     
\end{pspicture}

\endTeXtoEPS
\end{document}
