\documentclass[]{report}
%\usepackage{subfigure} 
%%% بسته‌ای که بتوانیم اشکال را کنار هم بیاوریم. 
\usepackage{amsmath}

\usepackage{amsthm}
%برای تولید نماد ها و اشکال ریاضی
\usepackage{amssymb}
%برای ظاهر شدن یک سری \lr{symbol}ها لازم است. 

\usepackage{graphicx}
\usepackage{pst-plot}
\usepackage{tikz}
\usepackage{verbatim}
\usepackage{xkeyval}
\usetikzlibrary{arrows,shapes}
\usepackage{pgf}
\usepackage{xepersian}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\settextfont{XB Niloofar}
\begin{document}
 %%%%%%%%%%%%%%%%
 \tikzstyle{state}=[draw=black!50,fill=black!20,thick,scale=2.5]
 \begin{figure}[h] 
\centering
\begin{tikzpicture} [inner sep=3 pt,scale=2.5,semithick,rounded corners,node distance=1. 5cm]
\node[state](A) [scale=0.4] {$u_{1}$} ;
\node[state](B) [below of=A,scale=0. 4] {$u_{2}$} ;
\node[state](C) [right of=B,scale=0. 4]{$u_{3}$};
\node[state](D) [right of=A,scale=0.4]{$u_{4}$};

\node[right of=D,xshift=-9mm]{$w_{4}$};
\node[left of=A,xshift=9mm]{$w_{4}$};
\node[below of=B,yshift=10mm]{$w_{4}$};

\path(A) edge [above,font=\small] node{\lr{0.2}}(D);
\path(A) edge [above right,font=\small] node{\lr{0.1}}(C);
\path(A) edge [left,font=\small] node{\lr{0.2}} (B);
\path(B) edge [below,font=\small] node{\lr{0.5}} (C);
\path(D) edge [right,font=\small] node{\lr{0.4}}(C);
\end{tikzpicture}
\caption{G}
\end{figure}
\end{document}
%%%%%%%%%%%%%%%