summaryrefslogtreecommitdiff
path: root/graphics/pmdraw/examples/example-3.tex
blob: 56545534057aad4dc5dc506c9e92530954220945 (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
%!TEX root = ../pmdraw.tex

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

\pmdDiagram{
    { % Brick 1
        [ % Options
            degree=5,
            levels top=4,
            levels bottom=3
        ]{ % Upper non transversal edges
            {1}{2}
            {3}{4}
            [level=2]{2}{4}
            [level=3]{2}{5}
            [level=4]{1}{5}
            [level=3]{5}{7}
        }{ % Lower non transversal edges
            {1}{2}
            {3}{4}
            [level=2]{2}{4}
            [level=3]{2}{5}
        }{ % Transversal edges
            {1}{1}
        }
    }{ % Brick 2
        [ % Options
            degree=4
        ]{ % Upper non transversal edges
            {1}{2}
            {3}{4}
        }{ % Lower non transversal edges
            {1}{2}
        }{ % Transversal edges
            {1}{2}
            {3}{4}
        }
    }
}