سلام
کد مربوطه بهصورت زیر میباشد:
\documentclass[10pt,a4paper]{article}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning,shapes,arrows,fit}
\usepackage{xepersian}
\settextfont{Yas}
\setmathdigitfont{Yas}
\begin{document}
\begin{figure}[!htb]
\centering
\begin{tikzpicture}[node distance=0.7cm, auto,
rec/.style={rectangle, draw, minimum height=1cm, thick, rounded corners},
%
ell/.style={ellipse, draw, minimum height=1.2cm, minimum width=2cm, thick},
%
pre/.style={<-, shorten <=1pt, >=stealth', semithick}]
\node[rec] (r2) {\rl{کیفیت سیستم}};
\node[rec] (r1) [above=of r2] {\rl{کیفیت سرویس}};
\node[rec] (r3) [below=of r2] {\rl{عوامل فنآوری}};
\node[ell] (e1) [right=of r2, align=center, text width=2cm, xshift=5mm] {\rl{سیستم اطلاعاتی
$ R^2 = 0.69 $}}
edge [pre] node [swap] {$ 0.45 $} (r1.east)
edge [pre] node [above] {$ 0.2 $} (r2)
edge [pre] node {$ 0.29 $} (r3.east);
\node[ell, minimum height=1.5cm, minimum width=2.5cm, xshift=7mm] (e2) [right=of e1,
align=center, text width=2cm] {\rl{به اشتراکگذاری دانش
$ R^2 = 0.85 $}}
edge [pre] node [above] {$ 0.76 $} (e1);
\begin{scope}[rounded corners, thick, inner sep=3mm]
\node [draw, fit= (r1) (r2) (r3) (e1) (e2)] {};
\end{scope}
\end{tikzpicture}
\caption{نتایج بهدستآمده از مسیر}
\end{figure}
\end{document}