\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 (5) at (0, 0) {$5$};
	\node (2) at (4, 0) {$2$};
	\node (1) at (14, 0) {$1$};
	\node (3) at (25, 0) {$3$};
	\node (4) at (29, 0) {$4$};
	\node (6) at (37, 0) {$6$};

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