summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pmdraw/examples/example-6.tex
blob: 18a47a794c8349b32166d43cabfdf27e1cfb1234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%!TEX root = ../pmdraw.tex

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

\pmdProduct[ % Options
    decorate after={
        \draw[very thick,red,rounded corners=5pt] (0.6, -3.4) rectangle (1.4, 2.4);
    }
]{ % Added edges
    {1}{4}
}{ % Top Diagram
    { % Brick 1
        [ % Options
            degree=4
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{1}
            {2}{2}
            {3}{3}
            {4}{4}
        }
    }
}{ % Bottom Diagram
    { % Brick 1
        [ % Options
            degree=4
        ]{ % Upper non transversal edges
            \pmdEmpty
        }{ % Lower non transversal edges
            \pmdEmpty
        }{ % Transversal edges
            {1}{1}
            {2}{2}
            {3}{3}
            {4}{4}
        }
    }
}