\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 (3) at (0, 0) {$3$};
	\node (6) at (9, 0) {$6$};
	\node (4) at (20, 0) {$4$};
	\node (1) at (27, 0) {$1$};
	\node (2) at (30, 0) {$2$};
	\node (5) at (33, 0) {$5$};

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