I have a communicative graph in a tikzcd environment, here is the code:
\begin{tikzcd}[row sep=5ex, column sep=0.01ex]
& & & & & & & & & \text{Drop the coins} & & & & & & & & \\
1^\text{st}\text{ Layer} & & & & & & & & & 1 \arrow[ld] \arrow[rd] & & & & & & & & \\
2^\text{nd}\text{ Layer} & & & & & & & & 1 \arrow[ld] \arrow[rd] & & 1 \arrow[rd] \arrow[ld] & & & & & & & \\
3^\text{rd}\text{ Layer} & & & & & & & 1 \arrow[ld] \arrow[rd] & & 2 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & & & & & & \\
4^\text{th}\text{ Layer} & & & & & & 1 \arrow[ld] \arrow[rd] & & 3 \arrow[ld, Rightarrow] \arrow[rd, dashed, hook'] & & 3 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & & & & & \\
5^\text{th}\text{ Layer} & & & & & 1 \arrow[ld] \arrow[rd] & & 7 \arrow[ld] \arrow[rd] & & 3 \arrow[ld] \arrow[rd] & & 4 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & & & & \\
6^\text{th}\text{ Layer} & & & & 1 \arrow[ld] \arrow[rd] & & 8 \arrow[ld] \arrow[rd] & & 10 \arrow[ld] \arrow[rd] & & 7 \arrow[ld] \arrow[rd] & & 5 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & & & \\
7^\text{th}\text{ Layer} & & & 1 \arrow[ld] \arrow[rd] & & 9 \arrow[ld] \arrow[rd] & & 18 \arrow[ld] \arrow[rd] & & 17 \arrow[ld] \arrow[rd] & & 12 \arrow[ld, dashed] \arrow[rd, Rightarrow] & & 6 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & & \\
8^\text{th}\text{ Layer} & & 1 \arrow[ld] \arrow[rd] & & 10 \arrow[ld] \arrow[rd] & & 27 \arrow[ld] \arrow[rd] & & 35 \arrow[ld] \arrow[rd] & & 17 \arrow[ld] \arrow[rd] & & 30 \arrow[ld] \arrow[rd] & & 7 \arrow[ld] \arrow[rd] & & 1 \arrow[ld] \arrow[rd] & \\
9^\text{th}\text{ Layer} & 1 & & 11 & & 37 & & 62 & & 52 & & 47 & & 37 & & 8 & & 1 \\
\text{Outcome} & 1^\text{st}\text{ Slot} & & 2^\text{nd}\text{ Slot} & & 3^\text{rd}\text{ Slot} & & 4^\text{th}\text{ Slot} & & 5^\text{th}\text{ Slot} & & 6^\text{th}\text{ Slot} & & 7^\text{th}\text{ Slot} & & 8^\text{th}\text{ Slot} & & 9^\text{th}\text{ Layer} \\
\text{Probability of hitting it once} & \frac{1}{2^{9-1}} & & \frac{11}{2^{9-1}} & & \frac{37}{2^{9-1}} & & \frac{62}{2^{9-1}} & & \frac{52}{2^{9-1}} & & \frac{47}{2^{9-1}} & & \frac{37}{2^{9-1}} & & \frac{8}{2^{9-1}} & & \frac{1}{2^{9-1}} \\
\text{Probability of hitting it twice} & \left(\frac{1}{2^{9-1}}\right)^2 & & \left(\frac{11}{2^{9-1}}\right)^2 & & \left(\frac{37}{2^{9-1}}\right)^2 & & \left(\frac{62}{2^{9-1}}\right)^2 & & \left(\frac{52}{2^{9-1}}\right)^2 & & \left(\frac{47}{2^{9-1}}\right)^2 & & \left(\frac{37}{2^{9-1}}\right)^2 & & \left(\frac{8}{2^{9-1}}\right)^2 & & \frac{1}{2^{9-1}}
\end{tikzcd}
However, the output is distorted and does not fit onto the page:
The diagram I'm trying to draw is here https://tinyurl.com/znyhpd5c


column sep={2.3em,between origins}, /tikz/column 1/.append style={nodes={anchor=base east}}as options to yourtikzcdenvironment. (TheDrop the coinsnode is the doing most damage. You can also add|[overlay]|to the this cell only but that still makes the columns of different width. Or you could remove that node from the matrix and add it as a label to the matrix. But I think you should usebetween originsanyway.) – Qrrbrbirlbel May 17 '23 at 15:20