%!TEX root = ../pmdraw.tex

% *------------------------------*
% |6```````````````````````````3|
% |`````____````____`````````````|
% |````|MFMF\  /MFMF|````````````|
% |````|MF|MF\/MF|MF|````````````|
% |````|MF|\MFMF/|MF|_______`````|
% |````|MF|``````|MFMFMFMFMF|````|
% |````|MF|``````|MF|````````````|
% |````|MF|``````|MF|___`````````|
% |``````````````|MFMFMF|````````|
% |``````````````|MF|````````````|
% |``````````````|MF|````````````|
% |``````````````|MF|````````````|
% |6````````````````````````````3|
% *------------------------------*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                        %
% Licence                                                %
%                                                        %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% Copyright 2023-10-16 (original release) -- 2025, Matthias Fresacher
% 
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is found via
% http://www.latex-project.org/lppl.txt.

\pmdProduct[ % Options
    decorate after={
        \draw (1, 2) node[above=6pt] {\( x \)\strut};
        \draw (2, 2) node[above=6pt] {\( y \)\strut};
    }
]{ % Added edges
    {1}{3}
}{ % Top diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            {1}{2}
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}{ % Bottom diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}
\hspace{2em}
\pmdProduct[ % Options
    decorate after={
        \draw (1, 2) node[above=6pt] {\( x \)};
        \draw (1, 0) node[left=6pt] {\( y \)};
        \draw (1, -1) node[left=6pt] {\( j''' \)};
        \draw (1, -3) node[left=6pt] {\( z \)};
    }
]{ % Added edges
    {1}{3}
}{ % Top diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{1}
        }
    }
}{ % Bottom diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{1}
        }
    }
}
\hspace{2em}
\pmdProduct[ % Options
    decorate after={
        \draw (1, 2) node[above=6pt] {\( x \)};
        \draw (1, 0) node[left=6pt] {\( y \)};
        \draw (1, -1) node[left=6pt] {\( j''' \)};
        \draw (2, -1) node[below=4pt] {\( z \)};
        \draw (2, 0) node[above right=0pt] {\( k'' \)};
        \draw (2, 2) node[above=6pt] {\( w \)};
    }
]{ % Added edges
    {1}{3}
}{ % Top diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{1}
            {2}{2}
        }
    }
}{ % Bottom diagram
    { % Brick 1
        [
            degree=3
        ]{ % Upper non transversal edges
            {1}{2}
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}
\hspace{2em}
\pmdProduct[ % Options
    decorate after={
        \draw (1, 2) node[above=6pt] {\( x \)};
        \draw (1, 0) node[left=6pt] {\( y \)};
        \draw (1, -1) node[left=6pt] {\( j''' \)};
        \draw (2, -1) node[below=4pt] {\( z \)};
        \draw (2, 0) node[above=4pt] {\( k'' \)};
        \draw (3, 0) node[above=4pt] {\( w \)};
    }
]{ % Added edges
    {1}{4}
}{ % Top diagram
    { % Brick 1
        [
            degree=4
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            {2}{3}
        }{ % Transversal edges
            {1}{1}
        }
    }
}{ % Bottom diagram
    { % Brick 1
        [
            degree=4
        ]{ % Upper non transversal edges
            {1}{2}
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}

.
