\begin{tikzpicture}[auto,scale=\rtree,transform shape]
	% x node set with absolute coordinates
	\node (x1) at (0,0) [label=below:$X|A$,point];
	\node (c1) at (2,0) [label=below:$C_1|X$,point];
	\node (d) at (4,0) [label=below:$D|C_1C_2$,point];
	\node (c2) at (6,0) [label=below:$C_2|X$,point];
	\node (x2) at (8,0) [label=below:$X|A$,point];
	
	\node (i1) at (1,1.5) [label=left:$i_1$,point];
	%\node (i2) at (6,2) [label=left:$i_2$,point];
	\node (i3) at (2,3) [label=left:$i_2$,point];
	\node (i4) at (4,4.5) [label=left:$i_4$,point];
	\node (r) at (7,6) [label=left:$r$,point];
	\node (h) at (7,7.5) [label=left:$h(A)$,point];
	
	% Directed edge
	\path (x1) edge node[left] {$XA$} (i1);
	\path (c1) edge node[right] {$XC_1$} (i1);
	\path (d) edge node[right] {$C_1C_2$} (i3);
	\path (i1) edge node[left] {$\bcancel{X}C_1A$} (i3);
	%\path (i2) edge node[right] {$C_1C_2$} (i3);
	\path (i3) edge node[left] {$\bcancel{X}AC_2$} (i4);
	\path (c2) edge node[right] {$XC_2$} (i4);
	\path (i4) edge node[left] {$XA$} (r);
	\path (x2) edge node[right] {$XA$} (r);
	\path (r) edge node[right] {$A$} (h);
	%\draw[dotted] (p) -- (ep);
	%\draw[dotted] (c) -- (ec);
	% Bidirected edge
	%\path[bidirected] (A) edge[bend left=60] (C);
	%\node at ($(1)!.5!(2)$) {\ldots};
\end{tikzpicture}
