%!TEX root = ../pmdraw.tex

% *------------------------------*
% |1````````````````````````````5|
% |`````____````____`````````````|
% |````|MFMF\  /MFMF|````````````|
% |````|MF|MF\/MF|MF|````````````|
% |````|MF|\MFMF/|MF|_______`````|
% |````|MF|``````|MFMFMFMFMF|````|
% |````|MF|``````|MF|````````````|
% |````|MF|``````|MF|___`````````|
% |``````````````|MFMFMF|````````|
% |``````````````|MF|````````````|
% |``````````````|MF|````````````|
% |``````````````|MF|````````````|
% |8````````````````````````````5|
% *------------------------------*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                        %
% 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{ % Added edges
    {1}{3}
    {7}{11}
    {15}{18}
}{ % Top Diagram
    { % Brick 1
        [ % Options
            degree top=3,
            degree bottom=4
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{2}
            {2}{3}
            {3}{4}
            {7}{1}
        }
    }{ % Brick 2
        [ % Options
            degree top=7,
            blank bottom=1,
            degree bottom=5,
            levels=2
        ]{ % Upper non transversal edges
            [level=2]{3}{13}
            {4}{5}
            {6}{7}
        }{ % Lower non transversal edges
            {3}{4}
            {5}{6}
        }{ % Transversal edges
            {1}{2}
        }
    }{ % Brick 3
        [ % Options
            degree top=5,
            blank bottom=1,
            degree bottom=4,
            levels=2
        ]{ % Upper non transversal edges
            {1}{2}
            {3}{4}
        }{ % Lower non transversal edges
            {2}{3}
            {4}{5}
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}{ % Bottom Diagram
    { % Brick 1
        [ % Options
            degree top=3,
            degree bottom=4
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{2}
            {2}{3}
            {3}{4}
            {7}{1}
        }
    }{ % Brick 2
        [ % Options
            degree top=7,
            blank bottom=1,
            degree bottom=5,
            levels=2,
            no dots
        ]{ % Upper non transversal edges
            [level=2]{3}{13}
            {4}{5}
            {6}{7}
        }{ % Lower non transversal edges
            {3}{4}
            {5}{6}
        }{ % Transversal edges
            {1}{2}
        }
    }{ % Brick 3
        [ % Options
            degree top=5,
            blank bottom=1,
            degree bottom=4,
            levels=2
        ]{ % Upper non transversal edges
            {1}{2}
            {3}{4}
        }{ % Lower non transversal edges
            {2}{3}
            {4}{5}
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}
