The question is really simple but I am a beginner in the world of tikz.
I have the following example and I am trying to simplify the connections of the nodes.
Here the working example:
\documentclass{scrartcl}
\usepackage{tikz}
\usetikzlibrary{calc,matrix,arrows,}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{tikzpicture}[baseline,remember picture,
every path/.style={-latex,thick}]
\matrix (bruch) [matrix of math nodes,%
column sep=.75cm,
row sep=0.75cm,nodes={anchor=center},]
{
\dfrac{1}{1} & \dfrac{2}{1} & \dfrac{3}{1} & \dfrac{4}{1} &\ldots\\
\dfrac{1}{2} & \dfrac{2}{2} & \dfrac{3}{2} & \dfrac{4}{2} &\ldots\\
\dfrac{1}{3} & \dfrac{2}{3} & \dfrac{3}{3} & \dfrac{4}{3} &\ldots\\
\dfrac{1}{4} & \dfrac{2}{4} & \dfrac{3}{4} & \dfrac{4}{4} &\ldots\\
\vdots & \vdots & \vdots & \vdots &\vdots\\
};
\draw (bruch-1-1) -- (bruch-2-1);
\draw (bruch-2-1) -- (bruch-1-2);
\draw (bruch-1-2) -- (bruch-1-3);
\draw (bruch-1-3) -- (bruch-2-2);
\draw (bruch-2-2) -- (bruch-3-1);
\draw (bruch-3-1) -- (bruch-4-1);
\draw (bruch-4-1) -- (bruch-3-2);
\draw (bruch-3-2) -- (bruch-2-3);
\draw (bruch-2-3) -- (bruch-1-4);
\draw (bruch-1-4) -- (bruch-1-5);
\end{tikzpicture}
\end{equation}
\end{document}
I tried the following foreach construction but it fails.
\foreach \x-\y [remember=\x-\y as \lastx-\lasty (initially 1-1)] in%
(2-1,1-2,1-3,2-2,3-1,4-1,3-2,2-3,1-4,1-5){
\draw (bruch-\lastx-\lasty) -- (bruch-\x-\y);}
How can I simplify the connecting of nodes?
EDIT
The solution of Altermundus works with a the CSV-version (see 1). The csv-version needs a manual installation. So is there a way to get a solution which works without the csv?
(1) CSV-Version from Altermundus.com or from the sourceforge website(it's newer)

