\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 (2) at (10, 0) {$2$};
	\node (5) at (23, 0) {$5$};
	\node (4) at (27, 0) {$4$};
	\node (6) at (29, 0) {$6$};
	\node (3) at (39, 0) {$3$};

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