\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 (5) at (8, 0) {$5$};
	\node (2) at (13, 0) {$2$};
	\node (6) at (23, 0) {$6$};
	\node (1) at (27, 0) {$1$};
	\node (4) at (31, 0) {$4$};

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