Debian Codegraph @

doc/namespace/flat-module.tikz

raw
1 \definecolor{blueish}{HTML}{9CA4F2}
2 \definecolor{grenish}{HTML}{8BFDBD}
3 \definecolor{yellish}{HTML}{D4FE76}
4 \definecolor{pinkish}{HTML}{B8AAB1}
5 \def\firstcircle{(0,1cm) ellipse (1.4cm and 0.9cm)}
6 \def\secondcircle{(1.8cm,0) ellipse (2cm and 1cm)}
7 \def\thirdcircle{(0.1cm,-0.9cm) ellipse (0.8cm and 1.2cm)}
8 \def\forthcircle{(-1cm,0) ellipse (1.2cm and 0.7cm)}
9 \begin{center}
10 \begin{tikzpicture}
11 \begin{scope}[fill opacity=0.5]
12 \fill[yellish] \firstcircle;
13 \fill[blueish] \secondcircle;
14 \fill[pinkish] \thirdcircle;
15 \fill[grenish] \forthcircle;
16 \end{scope}
17 \draw \firstcircle node[above] {ソートの};
18 \draw \firstcircle node[below] {名前};
19 \draw \secondcircle node[above] {オペレータの};
20 \draw \secondcircle node[below] {名前};
21 \draw \thirdcircle node[above] {公理の};
22 \draw \thirdcircle node[below] {名前};
23 \draw \forthcircle node[above] {変数の};
24 \draw \forthcircle node[below] {名前};
25 \draw (-3cm,-2.6cm) rectangle (4.4cm,2.4cm);
26 \draw (4.4cm,2.4cm) node[below left] {モジュール};
27 \end{tikzpicture}
28 \end{center}