\begin{tikzpicture}[scale=0.7]
	\begin{pgfonlayer}{nodelayer}
		\node [style=none] (28) at (10, 2) {};
		\node [style=none] (29) at (13, 2) {};
		\node [style=none] (30) at (10, -1) {};
		\node [style=none] (31) at (13, -1) {};
		\node [style=none] (32) at (8.25, 0.5) {};
		\node [style=none] (33) at (14.75, 0.5) {};
		\node [style=none] (34) at (10, 2) {};
		\node [style=vert-red] (35) at (9, 1) {};
		\node [style=vert-red] (36) at (9.5, 1.5) {};
		\node [style=vert-red] (37) at (9, 0) {};
		\node [style=vert-red] (38) at (9.5, -0.5) {};
		\node [style=vert-red] (39) at (10, 1) {};
		\node [style=vert-red] (40) at (10, 0) {};
		\node [style=vert-red] (41) at (11, 2) {};
		\node [style=vert-red] (42) at (12, 2) {};
		\node [style=vert-red] (43) at (11, 0) {};
		\node [style=vert-red] (44) at (12, 1) {};
		\node [style=vert-red] (45) at (11, -1) {};
		\node [style=vert-red] (46) at (12, -1) {};
		\node [style=vert-red] (47) at (13, 0) {};
		\node [style=vert-red] (48) at (13, 1) {};
		\node [style=vert-red] (49) at (13.5, 1.5) {};
		\node [style=vert-red] (50) at (13.5, -0.5) {};
		\node [style=vert-red] (51) at (14, 0) {};
		\node [style=vert-red] (52) at (14, 1) {};
		\node [style=vert-red] (53) at (9.5, 0.5) {};
		\node [style=vert-red] (54) at (11, 1) {};
		\node [style=vert-red] (55) at (12, 0) {};
		\node [style=vert-red] (56) at (13.5, 0.5) {};
		\node [style=none] (92) at (20.75, 2) {};
		\node [style=none] (93) at (23.75, 2) {};
		\node [style=none] (94) at (20.75, -1) {};
		\node [style=none] (95) at (23.75, -1) {};
		\node [style=none] (96) at (19, 0.5) {};
		\node [style=none] (97) at (25.5, 0.5) {};
		\node [style=none] (98) at (20.75, 2) {};
		\node [style=vert-red] (99) at (19.75, 1) {};
		\node [style=vert-red] (100) at (20.25, 1.5) {};
		\node [style=vert-red] (101) at (19.75, 0) {};
		\node [style=vert-red] (102) at (20.25, -0.5) {};
		\node [style=vert-red] (103) at (20.75, 1) {};
		\node [style=vert-red] (104) at (20.75, 0) {};
		\node [style=vert-red] (105) at (21.75, 2) {};
		\node [style=vert-red] (106) at (22.75, 2) {};
		\node [style=vert-red] (107) at (21.75, -1) {};
		\node [style=vert-red] (108) at (22.75, -1) {};
		\node [style=vert-red] (109) at (23.75, 0) {};
		\node [style=vert-red] (110) at (23.75, 1) {};
		\node [style=vert-red] (111) at (24.25, 1.5) {};
		\node [style=vert-red] (112) at (24.25, -0.5) {};
		\node [style=vert-red] (113) at (24.75, 0) {};
		\node [style=vert-red] (114) at (24.75, 1) {};
		\node [style=vert-red] (115) at (20.25, 0.5) {};
		\node [style=vert-red] (116) at (24.25, 0.5) {};
		\node [style=vert-red] (117) at (21.75, 1) {};
		\node [style=vert-red] (118) at (22.75, 0) {};
		\node [style=vert-red] (119) at (21.75, 0) {};
		\node [style=vert-red] (120) at (22.75, 1) {};
		\node [style=vert-red] (121) at (20.75, 1) {};
		\node [style=vert-red] (122) at (20.75, 0) {};
		\node [style=none] (123) at (11.5, 0.5) {};
		\node [style=none] (125) at (11, 1) {};
		\node [style=label-white] (126) at (11.25, 0.75) {$x_3$};
		\node [style=none] (127) at (11, 0) {};
		\node [style=label-white] (128) at (11.25, -0.25) {$x_1$};
		\node [style=label-white] (129) at (12.25, 0.75) {$x_2$};
		\node [style=label-white] (130) at (12.25, -0.25) {$x_4$};
		\node [style=label-white] (133) at (22, 1.25) {$x_3^{'}$};
		\node [style=label-white] (134) at (22, 0.25) {$x_1^{'}$};
		\node [style=label-white] (135) at (23, 1.25) {$x_2^{'}$};
		\node [style=label-white] (136) at (23, 0.25) {$x_4^{'}$};
		\node [style=none] (137) at (15.75, 0.5) {};
		\node [style=none] (138) at (18.25, 0.5) {};
		\node [style=none] (139) at (18.25, 0.5) {};
		\node [style=none] (140) at (17, 0.75) {};
		\node [style=none] (141) at (17, 0.75) {flip at $d$};
		\node [style=label-white] (143) at (22.25, 0.5) {$d$};
		\node [style=label-white] (145) at (11.5, 0.5) {$d$};
	\end{pgfonlayer}
	\begin{pgfonlayer}{edgelayer}
		\draw (34.center) to (32.center);
		\draw (32.center) to (30.center);
		\draw (30.center) to (31.center);
		\draw (31.center) to (33.center);
		\draw (33.center) to (29.center);
		\draw (29.center) to (34.center);
		\draw (34.center) to (30.center);
		\draw (29.center) to (31.center);
		\draw (30.center) to (29.center);
		\draw [style=red arrow] (37) to (35);
		\draw [style=red arrow] (35) to (53);
		\draw [style=red arrow] (53) to (37);
		\draw [style=red arrow] (53) to (36);
		\draw [style=red arrow] (36) to (39);
		\draw [style=red arrow] (39) to (53);
		\draw [style=red arrow] (38) to (53);
		\draw [style=red arrow] (53) to (40);
		\draw [style=red arrow] (40) to (38);
		\draw [style=red arrow] (39) to (41);
		\draw [style=red arrow] (41) to (54);
		\draw [style=red arrow] (54) to (39);
		\draw [style=red arrow] (54) to (42);
		\draw [style=red arrow] (42) to (44);
		\draw [style=red arrow] (44) to (54);
		\draw [style=red arrow] (40) to (54);
		\draw [style=red arrow] (54) to (43);
		\draw [style=red arrow] (43) to (40);
		\draw [style=red arrow] (43) to (55);
		\draw [style=red arrow] (55) to (45);
		\draw [style=red arrow] (45) to (43);
		\draw [style=red arrow] (55) to (44);
		\draw [style=red arrow] (44) to (48);
		\draw [style=red arrow] (48) to (55);
		\draw [style=red arrow] (46) to (55);
		\draw [style=red arrow] (55) to (47);
		\draw [style=red arrow] (47) to (46);
		\draw [style=red arrow] (48) to (49);
		\draw [style=red arrow] (49) to (56);
		\draw [style=red arrow] (56) to (48);
		\draw [style=red arrow] (47) to (56);
		\draw [style=red arrow] (56) to (50);
		\draw [style=red arrow] (50) to (47);
		\draw [style=red arrow] (56) to (52);
		\draw [style=red arrow] (52) to (51);
		\draw [style=red arrow] (51) to (56);
		\draw (98.center) to (96.center);
		\draw (96.center) to (94.center);
		\draw (94.center) to (95.center);
		\draw (95.center) to (97.center);
		\draw (97.center) to (93.center);
		\draw (93.center) to (98.center);
		\draw (98.center) to (94.center);
		\draw (93.center) to (95.center);
		\draw [style=red arrow] (101) to (99);
		\draw [style=red arrow] (99) to (115);
		\draw [style=red arrow] (115) to (101);
		\draw [style=red arrow] (115) to (100);
		\draw [style=red arrow] (100) to (103);
		\draw [style=red arrow] (103) to (115);
		\draw [style=red arrow] (102) to (115);
		\draw [style=red arrow] (115) to (104);
		\draw [style=red arrow] (104) to (102);
		\draw [style=red arrow] (110) to (111);
		\draw [style=red arrow] (111) to (116);
		\draw [style=red arrow] (116) to (110);
		\draw [style=red arrow] (109) to (116);
		\draw [style=red arrow] (116) to (112);
		\draw [style=red arrow] (112) to (109);
		\draw [style=red arrow] (116) to (114);
		\draw [style=red arrow] (114) to (113);
		\draw [style=red arrow] (113) to (116);
		\draw (98.center) to (95.center);
		\draw [style=red arrow] (107) to (122);
		\draw [style=red arrow] (122) to (119);
		\draw [style=red arrow] (119) to (107);
		\draw [style=red arrow] (119) to (121);
		\draw [style=red arrow] (121) to (117);
		\draw [style=red arrow] (117) to (119);
		\draw [style=red arrow] (108) to (119);
		\draw [style=red arrow] (119) to (118);
		\draw [style=red arrow] (118) to (108);
		\draw [style=red arrow] (106) to (110);
		\draw [style=red arrow] (110) to (120);
		\draw [style=red arrow] (120) to (106);
		\draw [style=red arrow] (117) to (105);
		\draw [style=red arrow] (105) to (120);
		\draw [style=red arrow] (120) to (117);
		\draw [style=red arrow] (118) to (120);
		\draw [style=red arrow] (120) to (109);
		\draw [style=red arrow] (109) to (118);
		\draw [style=arrow] (137.center) to (139.center);
	\end{pgfonlayer}
\end{tikzpicture}
