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

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