%!TEX root = ../pmdraw.tex

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

% *=-=-=-=-=-=*
%  signature=MIGEAkAwNd6zZRU9OiYKjcXe+zAfVoWEkHI2/c0ClaUu6z/sjXv3OevcVTxxxcRbwVTmPmLnPXLyjDmy1tB60JemhPZwAkAB+zF1zsYCbITveoUiNgETHslRBRF5MfmEvOCOMm2uqlyV4ZnT0MOB8xtns0DidhaFiqmvCq1Hxz/SZ8a2smo4
%  version=2.0
% *=-=-=-=-=-=*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                        %
% Licence                                                %
%                                                        %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% Copyright 2023-10-16 (original release) -- 2026thias 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.

\pmdDiagram[grid]{
    { % Brick 1
        [ % Options
            degree=5,
            levels top=1,
            levels bottom=1,
            labels,
            labels top node={red,above=16pt}
        ]{ % Upper non transversal edges
            [height=1.1]{2}{5}
        }{ % Lower non transversal edges
            [height=0.3]{2}{5}
        }{ % Transversal edges
            {1}{1}
        }
    }{ % Brick 2
        [ % Options
            degree=2,
            levels top=1,
            levels bottom=1,
            labels,
            labels bottom options={
                \draw (#1,#2) node[below=6pt] {\(#3''\)};
            },
            labels bottom start=6,
            labels top start=-4
        ]{ % Upper non transversal edges
            {1}{2}
        }{ % Lower non transversal edges
            {1}{2}
        }{ % Transversal edges
            {1}{2}
        }
    }
}
