\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{matrix,patterns,positioning,decorations.pathmorphing,cd,intersections,calc}
\tikzset{dot/.style={circle, fill=black, inner sep=.05cm}}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (48,249.67) -- (517,249.67)(100.33,29) -- (100.33,275) (510,244.67) -- (517,249.67) -- (510,254.67) (95.33,36) -- (100.33,29) -- (105.33,36) ;
\foreach \p in {(100.7,130.4),(100.7,210.4),(140.7,170.4),(180.7,210.4),(180.7,130.4),(220.7,170.4),(140.7,90.4),(220.7,90.4),(100.7,50.4),(180.7,50.4),(260.7,50.4),(260.7,130.4),(260.7,210.4),(300.7,170.4),(340.7,210.4),(340.7,130.4),(420.7,210.4),(420.7,130.4),(460.7,170.4),(500.7,210.4),(500.7,130.4),(300.7,90.4),(340.7,50.4),(420.7,50.4),(460.7,90.4),(500.7,50.4)}
\fill [fill={rgb, 255:red, 0; green, 0; blue, 0 }] \p circle (2.75);
\draw [color={rgb, 255:red, 208; green, 2; blue, 27 }, line width=1.5] (100.7,210.4) -- (520.33,211) ;
\draw [color={rgb, 255:red, 97; green, 174; blue, 8 }, line width=1.5] (140.7,170.4) -- (178.58,132.52) ;
\draw [shift={(180.7,130.4)}, rotate = 135] [color={rgb, 255:red, 97; green, 174; blue, 8 }, line width=1.5] (14.21,-4.28) .. controls (9.04,-1.82) and (4.3,-0.39) .. (0,0) .. controls (4.3,0.39) and (9.04,1.82) .. (14.21,4.28) ;
\draw [color={rgb, 255:red, 0; green, 0; blue, 223 }, line width=1.5] (140.7,170.4) -- (178.58,208.28) ;
\draw [shift={(180.7,210.4)}, rotate = 225] [color={rgb, 255:red, 0; green, 0; blue, 223 }, line width=1.5] (14.21,-4.28) .. controls (9.04,-1.82) and (4.3,-0.39) .. (0,0) .. controls (4.3,0.39) and (9.04,1.82) .. (14.21,4.28) ;
\draw [line width=0.75] (180.7,210.4) -- (219.29,171.81) ;
\draw [shift={(220.7,170.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (220.7,170.4) -- (259.29,131.81) ;
\draw [shift={(260.7,130.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (180.7,130.4) -- (219.29,91.81) ;
\draw [shift={(220.7,90.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (220.7,90.4) -- (259.29,51.81) ;
\draw [shift={(260.7,50.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (260.7,210.4) -- (299.29,171.81) ;
\draw [shift={(300.7,170.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (260.7,130.4) -- (299.29,91.81) ;
\draw [shift={(300.7,90.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (300.7,170.4) -- (339.29,131.81) ;
\draw [shift={(340.7,130.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (300.7,90.4) -- (339.29,51.81) ;
\draw [shift={(340.7,50.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (180.7,130.4) -- (219.29,168.99) ;
\draw [shift={(220.7,170.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (220.7,90.4) -- (259.29,128.99) ;
\draw [shift={(260.7,130.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (220.7,170.4) -- (259.29,208.99) ;
\draw [shift={(260.7,210.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (260.7,130.4) -- (299.29,168.99) ;
\draw [shift={(300.7,170.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (300.7,90.4) -- (339.29,128.99) ;
\draw [shift={(340.7,130.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (260.7,50.4) -- (299.29,88.99) ;
\draw [shift={(300.7,90.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (300.7,170.4) -- (339.29,208.99) ;
\draw [shift={(340.7,210.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (420.7,50.4) -- (459.29,88.99) ;
\draw [shift={(460.7,90.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (420.7,130.4) -- (459.29,168.99) ;
\draw [shift={(460.7,170.4)}, rotate = 225] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (420.7,130.4) -- (459.29,91.81) ;
\draw [shift={(460.7,90.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [line width=0.75] (420.7,210.4) -- (459.29,171.81) ;
\draw [shift={(460.7,170.4)}, rotate = 135] [line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [color={rgb, 255:red, 144; green, 19; blue, 254 }, line width=1.5] (476,40) -- (476,111) -- (452,111) ;
\draw [color={rgb, 255:red, 144; green, 19; blue, 254 }, line width=1.5] (445,40) -- (445,111) -- (452,111) ;
\draw [color={rgb, 255:red, 0; green, 0; blue, 223 }, line width=1.5] (437,40) -- (437,79) -- (413,79) ;
\draw [color={rgb, 255:red, 0; green, 0; blue, 223 }, line width=1.5] (406,40) -- (406,79) -- (413,79) ;
\draw [color={rgb, 255:red, 97; green, 174; blue, 8 }, line width=1.5] (441,40) -- (441,145) -- (410.03,145) ;
\draw [color={rgb, 255:red, 97; green, 174; blue, 8 }, line width=1.5] (401,40) -- (401,145) -- (410.03,145) ;
\draw (524.67,203.73) node [anchor=north west][inner sep=0.75pt] [font=\small,color={rgb, 255:red, 208; green, 2; blue, 27 }] {$y=1$};
\draw (28.67,27.67) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] [align=left] {Degree of \\active edge};
\draw (137.33,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1$};
\draw (177.33,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$2$};
\draw (217.33,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$3$};
\draw (84.98,204.73) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1$};
\draw (85.68,164.73) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$2$};
\draw (85.68,124.73) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$3$};
\draw (144,135.07) node [anchor=north west][inner sep=0.75pt] [font=\small,color={rgb, 255:red, 97; green, 174; blue, 8 }] {$U$};
\draw (142.67,186.4) node [anchor=north west][inner sep=0.75pt] [font=\small,color={rgb, 255:red, 0; green, 0; blue, 223 }] {$D$};
\draw (363.33,119.73) node [anchor=north west][inner sep=0.75pt] [font=\large] {$\cdots $};
\draw (364,259.07) node [anchor=north west][inner sep=0.75pt] [font=\large] {$\cdots $};
\draw (497.33,259.67) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] [align=left] {genus};
\draw (446.67,254.73) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$g\ \text{odd}$};
\draw (408.67,255.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$g-1$};
\draw (256.67,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$4$};
\draw (87.33,86.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$4$};
\draw (297.33,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$5$};
\draw (336,254.07) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$6$};
\end{tikzpicture}
\end{document}