\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 (3) at (6, 0) {$3$};
	\node (6) at (7, 0) {$6$};
	\node (2) at (16, 0) {$2$};
	\node (5) at (20, 0) {$5$};
	\node (4) at (31, 0) {$4$};

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