\documentclass{standalone}
\usepackage[paperwidth=\maxdimen,paperheight=\maxdimen]{geometry}
\usepackage{pgf,tikz}
\begin{document}

\begin{tikzpicture}[x=24pt, y=24pt, draw=white, double=black, line width=2.1pt]
	\node (4) at (0, 0) {$4$};
	\node (1) at (10, 0) {$1$};
	\node (6) at (20, 0) {$6$};
	\node (2) at (27, 0) {$2$};
	\node (3) at (31, 0) {$3$};
	\node (5) at (40, 0) {$5$};

	\draw[double=white,draw=green] (4) -- (0, 10) -- (21, 10) -- (21, -1) -- (18, -1) -- (18, 6) -- (3, 6) -- (3, -18) -- (44, -18) -- (44, 4) -- (36, 4) -- (36, -9) -- (12, -9) -- (12, 2) -- (7, 2) -- (7, -13) -- (40, -13) -- (5);
	\draw[double=white,draw=blue] (2) -- (26, 0) -- (26, -4) -- (15, -4) -- (15, 5) -- (4, 5) -- (4, -17) -- (43, -17) -- (43, 3) -- (37, 3) -- (37, -10) -- (11, -10) -- (11, 1) -- (8, 1) -- (8, -12) -- (39, -12) -- (39, 1) -- (41, 1) -- (41, -15) -- (6, -15) -- (6, 3) -- (13, 3) -- (13, -7) -- (31, -7) -- (3);
	\draw[double=white,draw=red] (6) -- (19, 0) -- (19, 8) -- (2, 8) -- (2, -19) -- (45, -19) -- (45, 6) -- (30, 6) -- (30, -6) -- (14, -6) -- (14, 4) -- (5, 4) -- (5, -16) -- (42, -16) -- (42, 2) -- (38, 2) -- (38, -11) -- (9, -11) -- (9, 0) -- (1);
	\draw[double=green] (5) -- (40, 11) -- (1, 11) -- (1, -8) -- (25, -8) -- (25, 1) -- (28, 1) -- (28, -2) -- (33, -2) -- (33, 5) -- (20, 5) -- (6);
	\draw[double=blue] (3) -- (31, 3) -- (23, 3) -- (23, -3) -- (16, -3) -- (16, 9) -- (35, 9) -- (35, -14) -- (0, -14) -- (4);
	\draw[double=red] (1) -- (10, -5) -- (24, -5) -- (24, 2) -- (29, 2) -- (29, -1) -- (32, -1) -- (32, 4) -- (22, 4) -- (22, -2) -- (17, -2) -- (17, 7) -- (34, 7) -- (34, -3) -- (27, -3) -- (2);
\end{tikzpicture}
\end{document}