\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 (1) at (0, 0) {$1$};
	\node (6) at (7, 0) {$6$};
	\node (4) at (15, 0) {$4$};
	\node (3) at (17, 0) {$3$};
	\node (2) at (27, 0) {$2$};
	\node (5) at (38, 0) {$5$};

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