باسلام
برنامه ی گرافی به صورت
به صورت زیر است
\documentclass{report}
\usepackage{tikz}
\usepackage{xepersian}
\settextfont{XB Yas}
\setdigitfont{XB Yas}
\begin{document}
\begin{figure}
\begin{tikzpicture}[scale=1]
\draw [fill] (0,-1) circle [radius=0.1] node [left] {$2$};
\draw [fill] (0,0) circle [radius=0.1] node [below left] {$v_1$};
\draw [fill] (1,0) circle [radius=0.1] node [below] {$v_2$};
\draw [fill] (2,0) circle [radius=0.1] node [below] {$v_3$};
\draw [fill] (3,0) circle [radius=0.1] node [below] {$v_4$};
\draw [fill] (4,0) circle [radius=0.1] node [below] {$v_{k-2}$};
\draw [fill] (5.5,0) circle [radius=0.1] node [below] {$v_{k-1}$};
\draw [fill] (7,0) circle [radius=0.1] node [below] {$v_{k}$};
\draw [fill] (2,1) circle [radius=0.1] node [above] {$1$};
\draw [fill] (2.8,1) circle [radius=0.1] node [above] {$1$};
\draw [fill] (3.2,1) circle [radius=0.1] node [above] {$2$};
\draw [fill] (4.4,1) circle [radius=0.1] node [above] {$k-4$};
\node at (4.1,1) {$\dots$};
\draw [fill] (5.1,1) circle [radius=0.1] node [above] {$1$};
\draw [fill] (5.3,1) circle [radius=0.1] node [above] {$2$};
\draw [fill] (5.9,1) circle [radius=0.1] node [above] {$k-3$};
\node at (5.6,1) {$\dots$};
\draw [fill] (6.6,1) circle [radius=0.1] node [above] {$1$};
\draw [fill] (6.8,1) circle [radius=0.1] node [above] {$2$};
\draw [fill] (7,1) circle [radius=0.1] node [above] {$3$};
\draw [fill] (7.6,1) circle [radius=0.1] node [above] {$k-2$};
\node at (7.3,1) {$\dots$};
\draw [fill] (3.8,1) circle [radius=0.1] node [above] {$2$};
\draw [fill] (3.6,1) circle [radius=0.1] node [above] {$1$};
\draw (0, -1) -- (0, 0) -- (1, 0) --(2,0) --(3,0);
\draw (3,0) [dashed]--(4,0);
\draw (4,0) -- (5,0) -- (7,0);
\draw (5.5,0)-- (5.1,1);
\draw (5.5,0)-- (5.3,1);
\draw (5.5,0)-- (5.9,1);
\draw (7,0)-- (6.6,1);
\draw (7,0)-- (6.8,1);
\draw (7,0)-- (7,1);
\draw (7,0)-- (7.6,1);
\draw(2,1)--(2,0);
\draw(2.8,1)--(3,0);
\draw(3.2,1)--(3,0);
\draw(3.6,1)--(4,0);
\draw(3.8,1)--(4,0);
\draw(4.4,1)--(4,0);
\end{tikzpicture}
\caption{گراف}
\end{figure}
\end{document}