\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb,amsthm,tkz-graph}
\usetikzlibrary{calc,arrows.meta,positioning,decorations.markings,arrows,shapes}
\tikzset{
LabelStyle/.style = {font = \tiny\bfseries },
VertexStyle/.append style = { inner sep=5pt,
font = \tiny\bfseries},
EdgeStyle/.append style = {->} }
\begin{document}
\begin{tikzpicture}[->,>=latex,shorten >=0pt,auto,node distance=2.5cm,
main node/.style={circle,fill=blue!10,draw, font=\sffamily\Large\bfseries}]
\tikzset{VertexStyle/.append style={
font=\itshape\large, shape = circle,inner sep = 2pt, outer sep = 0pt,minimum size = 20 pt,draw}}
\tikzset{EdgeStyle/.append style={thin}}
\tikzset{LabelStyle/.append style={font = \itshape}}
\SetVertexMath
\def\x{0.0}
\def\y{2.0}
\node at (\x-10,\y-0) {$G$};
\node at (\x+4.0,\y-0) {$G/Y''_1/Y''_2$};
\node at (\x-7.0,\y-11) {$G/X'_1/Y'_1/Y'_2$};
\node at (\x+2.5,\y-11) {$G/X'_1/Y'_1/Y'_2\boxtimes G/Y''_1/Y''_2$};
\node at (\x+8,\y-12.9) {$Z$};
\def\x{-10.0}
\def\y{-2.0}
\Vertex[x=\x+2, y=\y+4.0,L={u_{0}}]{u_1}
\Vertex[x=\x+1, y=\y+2.0,L={u_{1,1}}]{u_2}
\Vertex[x=\x+3, y=\y+2.0,L={u_{1,2}}]{u_3}
\Vertex[x=\x-1, y=\y-3,L={v_{1,1}}]{v_1}
\Vertex[x=\x+1, y=\y-3,L={v_{1,2}}]{v_2}
\Vertex[x=\x+3, y=\y-3,L={v_{2,1}}]{v_3}
\Vertex[x=\x+5, y=\y-3,L={v_{2,2}}]{v_4}
\Vertex[x=\x+1, y=\y-5,L={v_{3}}]{v_5}
\Vertex[x=\x+3, y=\y-5,L={v_{4}}]{v_6}
\Edge[label = a, labelstyle={xshift=0pt, yshift=2pt}, style={in = 105, out = 195,min distance=2cm}](u_1)(v_1)
\Edge[label = i, labelstyle={xshift=0pt, yshift=2pt}, style={in = 15, out = 0,min distance=5cm}](u_1)(v_6)
\Edge[label = b, labelstyle={xshift=0pt, yshift=2pt}](u_1)(u_2)
\Edge[label = c, labelstyle={xshift=0pt, yshift=2pt}](u_1)(u_3)
\Edge[label = d, labelstyle={xshift=-8pt, yshift=32pt}](u_2)(v_1)
\Edge[label = d, labelstyle={xshift=-14pt, yshift=22pt}](u_2)(v_2)
\Edge[label = d, labelstyle={xshift=-26pt, yshift=19pt}](u_2)(v_3)
\Edge[label = d, labelstyle={xshift=-38pt, yshift=47pt}](u_2)(v_4)
\Edge[label = d, labelstyle={xshift=-29pt, yshift=-5pt}](u_3)(v_1)
\Edge[label = d, labelstyle={xshift=-24pt, yshift=-6pt}](u_3)(v_2)
\Edge[label = d, labelstyle={xshift=-19pt, yshift=-8pt}](u_3)(v_3)
\Edge[label = d, labelstyle={xshift=-18pt, yshift=-6pt}](u_3)(v_4)
\Edge[label = e, labelstyle={xshift=0pt, yshift=2pt}](v_1)(v_5)
\Edge[label = f, labelstyle={xshift=2pt, yshift=2pt}](v_2)(v_5)
\Edge[label = g, labelstyle={xshift=0pt, yshift=2pt}](v_3)(v_6)
\Edge[label = h, labelstyle={xshift=0pt, yshift=2pt}](v_4)(v_6)
\def\x{6.0}
\def\y{-2.0}
\Vertex[x=\x+2, y=\y+4.0,L={u_{0}}]{u_1}
\Vertex[x=\x+1, y=\y+2.0,L={u_{1,1}}]{u_2}
\Vertex[x=\x+3, y=\y+2.0,L={u_{1,2}}]{u_3}
\Vertex[x=\x-0, y=\y-3,L={\tilde{y}''_{1}}]{v_1}
\Vertex[x=\x+4, y=\y-3,L={\tilde{y}''_{2}}]{v_3}
\Vertex[x=\x+1, y=\y-5,L={v_{3}}]{v_5}
\Vertex[x=\x+3, y=\y-5,L={v_{4}}]{v_6}
\Edge[label = a, labelstyle={xshift=0pt, yshift=2pt}, style={in = 105, out = 195,min distance=2cm}](u_1)(v_1)
\Edge[label = i, labelstyle={xshift=0pt, yshift=2pt}, style={in = 15, out = 0,min distance=4cm}](u_1)(v_6)
\Edge[label = b, labelstyle={xshift=0pt, yshift=2pt}](u_1)(u_2)
\Edge[label = c, labelstyle={xshift=0pt, yshift=2pt}](u_1)(u_3)
\Edge[label = d, labelstyle={xshift=-10pt, yshift=32pt}](u_2)(v_1)
\Edge[label = d, labelstyle={xshift=-34pt, yshift=19pt}](u_2)(v_3)
\Edge[label = d, labelstyle={xshift=-29pt, yshift=-5pt}](u_3)(v_1)
\Edge[label = d, labelstyle={xshift=-19pt, yshift=-8pt}](u_3)(v_3)
\Edge[label = e, labelstyle={xshift=0pt, yshift=2pt}, style={in = 135, out = -90,min distance=0cm}](v_1)(v_5)
\Edge[label = f, labelstyle={xshift=2pt, yshift=2pt}, style={in = 90, out = -30,min distance=0cm}](v_1)(v_5)
\Edge[label = g, labelstyle={xshift=0pt, yshift=2pt}, style={in = 90, out = 210,min distance=0cm}](v_3)(v_6)
\Edge[label = h, labelstyle={xshift=0pt, yshift=2pt}, style={in = 45, out = -90,min distance=0cm}](v_3)(v_6)
\def\x{-10.0}
\def\y{-15.0}
\Vertex[x=\x+2, y=\y+4.0,L={u_{0}}]{u_1}
\Vertex[x=\x+2, y=\y+2.0,L={\tilde{x}'_{1}}]{u_2}
\Vertex[x=\x-0, y=\y-3,L={\tilde{y}'_{1}}]{v_1}
\Vertex[x=\x+4, y=\y-3,L={\tilde{y}'_{2}}]{v_3}
\Vertex[x=\x+1, y=\y-5,L={v_{3}}]{v_5}
\Vertex[x=\x+3, y=\y-5,L={v_{4}}]{v_6}
\Edge[label = a, labelstyle={xshift=0pt, yshift=2pt}, style={in = 105, out = 195,min distance=2cm}](u_1)(v_1)
\Edge[label = i, labelstyle={xshift=0pt, yshift=2pt}, style={in = 15, out = 0,min distance=4cm}](u_1)(v_6)
\Edge[label = b, labelstyle={xshift=0pt, yshift=2pt}, style={in = 120, out = -120,min distance=0cm}](u_1)(u_2)
\Edge[label = c, labelstyle={xshift=0pt, yshift=2pt}, style={in = 60, out = -60,min distance=0cm}](u_1)(u_2)
\Edge[label = d, labelstyle={xshift=-10pt, yshift=32pt}](u_2)(v_1)
\Edge[label = d, labelstyle={xshift=-34pt, yshift=19pt}](u_2)(v_3)
\Edge[label = e, labelstyle={xshift=0pt, yshift=2pt}, style={in = 135, out = -90,min distance=0cm}](v_1)(v_5)
\Edge[label = g, labelstyle={xshift=-28pt, yshift=8pt}, style={in = 90, out = -30,min distance=0cm}](v_1)(v_6)
\Edge[label = f, labelstyle={xshift=20pt, yshift=24pt}, style={in = 90, out = 210,min distance=0cm}](v_3)(v_5)
\Edge[label = h, labelstyle={xshift=0pt, yshift=2pt}, style={in = 45, out = -90,min distance=0cm}](v_3)(v_6)
\tikzset{VertexStyle/.append style={
font=\itshape\large, shape = rounded rectangle, inner sep = 2pt, outer sep = 0pt,minimum size = 20 pt,draw}}
\def\x{10.0}
\def\y{-13.0}
\Vertex[x=\x+0, y=\y+2.0,L={(u_0,u_0)}]{u0u0}
\Vertex[x=\x+3-14, y=\y+2.0,L={(u_0,u_{1,1})}]{u0u11}
\Vertex[x=\x+6-14, y=\y+2.0,L={(u_0,u_{1,2})}]{u0u12}
\Vertex[x=\x+9-14, y=\y+2.0,L={(u_0,\tilde{y}''_{1})}]{u0y1}
\Vertex[x=\x+12-8, y=\y+2.0,L={(u_0,\tilde{y}''_{2})}]{u0y2}
\Vertex[x=\x+15-8, y=\y+2.0,L={(u_0,v_{3})}]{u0v3}
\Vertex[x=\x+18-8, y=\y+2.0,L={(u_0,v_{4})}]{u0v4}
\def\x{6.0}
\def\y{-15.0}
\Vertex[x=\x+0-7, y=\y+2.0,L={(\tilde{x}'_{1},u_0)}]{x1u0}
\Vertex[x=\x+3, y=\y+2.0,L={(\tilde{x}'_{1},u_{1,1})}]{x1u11}
\Vertex[x=\x+6, y=\y+2.0,L={(\tilde{x}'_{1},u_{1,2})}]{x1u12}
\Vertex[x=\x+9-13, y=\y+2.0,L={(\tilde{x}'_{1},\tilde{y}''_{1})}]{x1y1}
\Vertex[x=\x+12-13, y=\y+2.0,L={(\tilde{x}'_{1},\tilde{y}''_{2})}]{x1y2}
\Vertex[x=\x+15-4, y=\y+2.0,L={(\tilde{x}'_{1},v_{3})}]{x1v3}
\Vertex[x=\x+18-4, y=\y+2.0,L={(\tilde{x}'_{1},v_{4})}]{x1v4}
\def\x{-1.0}
\def\y{-17.0}
\Vertex[x=\x+0, y=\y+2.0,L={(\tilde{y}'_{1},u_0)}]{y1u0}
\Vertex[x=\x+3, y=\y+2.0,L={(\tilde{y}'_{1},u_{1,1})}]{y1u11}
\Vertex[x=\x+6, y=\y+2.0,L={(\tilde{y}'_{1},u_{1,2})}]{y1u12}
\Vertex[x=\x+8.0, y=\y+1.0,L={(\tilde{y}'_{1},\tilde{y}''_{1})}]{y1y1}
\Vertex[x=\x+13.0, y=\y+1.0,L={(\tilde{y}'_{1},\tilde{y}''_{2})}]{y1y2}
\Vertex[x=\x+18+0, y=\y+2.0,L={(\tilde{y}'_{1},v_{3})}]{y1v3}
\Vertex[x=\x+21+0, y=\y+2.0,L={(\tilde{y}'_{1},v_{4})}]{y1v4}
\def\x{0.5}
\def\y{-19.0}
\Vertex[x=\x+-1.5, y=\y+2.0,L={(\tilde{y}'_{2},u_0)}]{y2u0}
\Vertex[x=\x+1.5, y=\y+2.0,L={(\tilde{y}'_{2},u_{1,1})}]{y2u11}
\Vertex[x=\x+4.5, y=\y+2.0,L={(\tilde{y}'_{2},u_{1,2})}]{y2u12}
\Vertex[x=\x+9, y=\y+3.0,L={(\tilde{y}'_{2},\tilde{y}''_{1})}]{y2y1}
\Vertex[x=\x+14, y=\y+3.0,L={(\tilde{y}'_{2},\tilde{y}''_{2})}]{y2y2}
\Vertex[x=\x+16.5+0, y=\y+2.0,L={(\tilde{y}'_{2},v_{3})}]{y2v3}
\Vertex[x=\x+19.5+0, y=\y+2.0,L={(\tilde{y}'_{2},v_{4})}]{y2v4}
\def\x{-1.0}
\def\y{-21.0}
\Vertex[x=\x+0, y=\y+2.0,L={(v_3,u_0)}]{v3u0}
\Vertex[x=\x+3, y=\y+2.0,L={(v_3,u_{1,1})}]{v3u11}
\Vertex[x=\x+6, y=\y+2.0,L={(v_3,u_{1,2})}]{v3u12}
\Vertex[x=\x+9, y=\y+2.0,L={(v_3,\tilde{y}''_{1})}]{v3y1}
\Vertex[x=\x+15, y=\y+2.0,L={(v_3,\tilde{y}''_{2})}]{v3y2}
\Vertex[x=\x+9, y=\y+3,L={(v_3,v_{3})}]{v3v3}
\Vertex[x=\x+21, y=\y+2,L={(v_3,v_{4})}]{v3v4}
\def\x{-1.0}
\def\y{-23.0}
\Vertex[x=\x+0, y=\y+2.0,L={(v_4,u_0)}]{v4u0}
\Vertex[x=\x+3, y=\y+2.0,L={(v_4,u_{1,1})}]{v4u11}
\Vertex[x=\x+6, y=\y+2.0,L={(v_4,u_{1,2})}]{v4u12}
\Vertex[x=\x+9, y=\y+2.0,L={(v_4,\tilde{y}''_{1})}]{v4y1}
\Vertex[x=\x+15, y=\y+2.0,L={(v_4,\tilde{y}''_{2})}]{v4y2}
\Vertex[x=\x+18, y=\y+2.0,L={(v_4,v_{3})}]{v4v3}
\Vertex[x=\x+14.5, y=\y+5.0,L={(v_4,v_{4})}]{v4v4}
\Edge[label = a, labelstyle={xshift=0pt, yshift=2pt}, style={in = 120, out = 185,min distance=2cm}](u0u0)(y1y1)
\Edge[label = b, labelstyle={xshift=0pt, yshift=2pt}](u0u0)(x1u11)
\Edge[label = i, labelstyle={xshift=0pt, yshift=2pt}, style={in = 0, out = -15,min distance=3.5cm}](u0u0)(v4v4)
\Edge[label = c, labelstyle={xshift=0pt, yshift=2pt}](u0u0)(x1u12)
\Edge[label = d, labelstyle={xshift=-14pt, yshift=14pt}](x1u11)(y1y1)
\Edge[label = d, labelstyle={xshift=-16pt, yshift=0pt}](x1u11)(y2y1)
\Edge[label = d, labelstyle={xshift=-36pt, yshift=-21pt}](x1u12)(y1y1)
\Edge[label = d, labelstyle={xshift=-18pt, yshift=-20pt}](x1u12)(y2y1)
\Edge[label = d, labelstyle={xshift=-50pt, yshift=26pt}](x1u11)(y2y2)
\Edge[label = d, labelstyle={xshift=-36pt, yshift=8pt}](x1u11)(y1y2)
\Edge[label = d, labelstyle={xshift=0pt, yshift=0pt}](x1u12)(y2y2)
\Edge[label = d, labelstyle={xshift=0pt, yshift=-20pt}](x1u12)(y1y2)
\Edge[label = e, labelstyle={xshift=0pt, yshift=2pt}](y1y1)(v3v3)
\Edge[label = f, labelstyle={xshift=2pt, yshift=2pt}](y2y1)(v3v3)
\Edge[label = g, labelstyle={xshift=0pt, yshift=2pt}](y1y2)(v4v4)
\Edge[label = h, labelstyle={xshift=0pt, yshift=2pt}](y2y2)(v4v4)
\def\x{6}
\def\y{-12.0}
\draw[-,dashed, very thick,rounded corners=8pt] (\x+0.1,\y+1.0)--(\x+0.1,\y+1.8)-- (\x+6.0,\y+1.8)-- (\x+10.0,\y-2.7)--(\x+10.0,\y-6.5)-- (\x+1.5,\y-6.5)-- (\x+0.1,\y-6.5) -- (\x+0.1,\y-0.5)--(\x+0.1,\y+1.0);
\def\x{-3}
\def\y{-11.5}
\draw[-,dotted, very thick,rounded corners=8pt] (\x+0.1,\y+1.0)--(\x+0.1,\y+1.8)-- (\x+24.0,\y+1.8)-- (\x+24.0,\y-10.5)-- (\x+1.5,\y-10.5)-- (\x+0.1,\y-10.5) -- (\x+0.1,\y-0.5)--(\x+0.1,\y+1.0);
\end{tikzpicture}
\end{document}