summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pmdraw/examples/example-14.tex
blob: 0ad77f546df6c4cc81824ea2cb14e06a5b539375 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%!TEX root = ../pmdraw.tex

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

\pmdDiagram
[ % Options
    row sep=3,
    diagram sep=2,
    dots options={
        \draw (#1,#2) node[red] {\(\mid\)};
    }
]{ 
    { % 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}{16}
            {4}{5}
            {6}{7}
        }{ % Lower non transversal edges
            {3}{4}
            {5}{6}
        }{ % Transversal edges
            {1}{2}
        }
    }{ % Brick 3
        [ % Options
            blank top=-1,
            degree top=9,
            blank bottom=4,
            degree bottom=4,
            levels=2
        ]{ % Upper non transversal edges
            {0}{1}
            {2}{3}
            {4}{5}
            {6}{7}
        }{ % Lower non transversal edges
            {5}{6}
            {7}{8}
        }{ % Transversal edges
            \pmdEmpty
        }
    }
}