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

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