\documentclass[tikz]{standalone}

\input{.common.tex}

\begin{document}

\begin{tikzpicture}
    \node[ten] (M0) at (0,0) {};
    \node[mpo,below=of M0] (W0) {};
    \node[ten,below=of W0] (m0) {};
    \draw[leg] (M0) -- (W0);
    \draw[leg] (W0) -- (m0);
    \foreach \i in {0,...,6} {
        \pgfmathsetmacro{\j}{int(\i+1)}
        \node[ten, right=of M\i] (M\j) {}; % $M^{[\the\numexpr\i+1]}$
        \node[mpo, right=of W\i] (W\j) {}; % $W^{[\the\numexpr\i+1]}$
        \node[ten, right=of m\i] (m\j) {}; % $m^{[\the\numexpr\i+1]}$
        % horizontal
        \draw[leg] (M\i) -- (M\j);
        \draw[leg] (W\i) -- (W\j);
        \draw[leg] (m\i) -- (m\j);
        % vertical
        \draw[leg] (M\j) -- (W\j);
        \draw[leg] (W\j) -- (m\j);
    }
\end{tikzpicture}

\end{document}
