\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 (2) at (5, 0) {$2$};
	\node (3) at (10, 0) {$3$};
	\node (1) at (24, 0) {$1$};
	\node (6) at (32, 0) {$6$};
	\node (5) at (44, 0) {$5$};

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