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

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