Hi,
I got a first quick idea to make a staircase diagram using a TikZ matrix.
You can see the steps in the matrix. The draw commands goes through matrix
node coordinates. It could be simplified using a
\foreach
loop, but
I think it already shows what is meant. And, in such a matrix, you could
go upwards and downwards too.
Code: Select all
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\matrix (m) [ matrix of nodes, row sep = 3em, column sep = 0em,
nodes={minimum width = 7em, outer sep = 0em}] {
& & & & Best \\
& & & Much better & \\
& & better & & \\
& good & & & \\
bad & & & & \\
};
\draw (m-5-1.south west) -- (m-5-1.south east)
-- (m-4-2.south west) -- (m-4-2.south east)
-- (m-3-3.south west) -- (m-3-3.south east)
-- (m-2-4.south west) -- (m-2-4.south east)
-- (m-1-5.south west) -- (m-1-5.south east)
;
\end{tikzpicture}
\end{document}

- staircase-diagram.png (4.5 KiB) Viewed 6219 times
Stefan