| 1 |
\definecolor{blueish}{HTML}{9CA4F2} |
| 2 |
\definecolor{grenish}{HTML}{8BFDBD} |
| 3 |
\definecolor{yellish}{HTML}{D4FE76} |
| 4 |
\definecolor{pinkish}{HTML}{B8AAB1} |
| 5 |
\definecolor{greyish}{HTML}{F2FCF4} |
| 6 |
\begin{center} |
| 7 |
\begin{tikzpicture} |
| 8 |
\def\xs{0cm} |
| 9 |
\def\ys{0cm} |
| 10 |
\node[ellipse,draw,fill=yellish,fill opacity=0.5,minimum width=2.8cm,minimum height=1.8cm,align=center] (a1) at (0 + \xs, 1cm + \ys) {}; |
| 11 |
\node[draw=none,fill=none,align=center] at (0 + \xs,1cm + \ys) {ソートの\\[5pt]名前}; |
| 12 |
\node[ellipse,draw,fill=blueish,fill opacity=0.5,minimum width=4cm,minimum height=2cm,align=center] (a2) at (1.8cm + \xs, 0cm + \ys) {}; |
| 13 |
\node[draw=none,fill=none,align=center] at (1.8cm + \xs,0cm + \ys) {オペレータの\\[5pt]名前}; |
| 14 |
\node[ellipse,draw,fill=pinkish,fill opacity=0.5,minimum width=1.6cm,minimum height=2.4cm,align=center] (a3) at (0.1cm + \xs, -0.9cm + \ys) {}; |
| 15 |
\node[draw=none,fill=none,align=center] at (0.1cm + \xs,-0.9cm + \ys) {公理の\\[5pt]名前}; |
| 16 |
\node[ellipse,draw,fill=grenish,fill opacity=0.5,minimum width=2.4cm,minimum height=1.4cm,align=center] (a4) at (-1cm + \xs, 0cm + \ys) {}; |
| 17 |
\node[draw=none,fill=none,align=center] at (-1cm + \xs,0cm + \ys) {変数の\\[5pt]名前}; |
| 18 |
\node[minimum width=7.4cm, minimum height=5cm,draw] (a) at (0.7cm,-0.1cm) {}; |
| 19 |
\draw (4.4cm + \xs,2.4cm + \ys) node[below left] {モジュールA}; |
| 20 |
% |
| 21 |
\def\xs{2cm} |
| 22 |
\def\ys{-5.5cm} |
| 23 |
\node[ellipse,draw,fill=yellish,fill opacity=0.5,minimum width=2.8cm,minimum height=1.8cm,align=center] (b1) at (0 + \xs, 1cm + \ys) {}; |
| 24 |
\node[draw=none,fill=none,align=center] at (0 + \xs,1cm + \ys) {ソートの\\[5pt]名前}; |
| 25 |
\node[ellipse,draw,fill=blueish,fill opacity=0.5,minimum width=4cm,minimum height=2cm,align=center] (b2) at (1.8cm + \xs, 0cm + \ys) {}; |
| 26 |
\node[draw=none,fill=none,align=center] at (1.8cm + \xs,0cm + \ys) {オペレータの\\[5pt]名前}; |
| 27 |
\node[ellipse,draw,fill=pinkish,fill opacity=0.5,minimum width=1.6cm,minimum height=2.4cm,align=center] (b3) at (0.1cm + \xs, -0.9cm + \ys) {}; |
| 28 |
\node[draw=none,fill=none,align=center] at (0.1cm + \xs,-0.9cm + \ys) {公理の\\[5pt]名前}; |
| 29 |
\node[ellipse,draw,fill=grenish,fill opacity=0.5,minimum width=2.4cm,minimum height=1.4cm,align=center] (b4) at (-1cm + \xs, 0cm + \ys) {}; |
| 30 |
\node[draw=none,fill=none,align=center] at (-1cm + \xs,0cm + \ys) {変数の\\[5pt]名前}; |
| 31 |
\node[minimum width=7.4cm, minimum height=5cm,draw] (b) at (0.7cm + \xs,-0.1cm + \ys) {}; |
| 32 |
\draw (4.4cm + \xs,2.4cm + \ys) node[below left] {モジュールB}; |
| 33 |
% |
| 34 |
\def\xs{4cm} |
| 35 |
\def\ys{-11cm} |
| 36 |
\node[ellipse,draw,fill=yellish,fill opacity=0.5,minimum width=2.8cm,minimum height=1.8cm,align=center] (c1) at (0 + \xs, 1cm + \ys) {}; |
| 37 |
\node[draw=none,fill=none,align=center] at (0 + \xs,1cm + \ys) {ソートの\\[5pt]名前}; |
| 38 |
\node[ellipse,draw,fill=blueish,fill opacity=0.5,minimum width=4cm,minimum height=2cm,align=center] (c2) at (1.8cm + \xs, 0cm + \ys) {}; |
| 39 |
\node[draw=none,fill=none,align=center] at (1.8cm + \xs,0cm + \ys) {オペレータの\\[5pt]名前}; |
| 40 |
\node[ellipse,draw,fill=pinkish,fill opacity=0.5,minimum width=1.6cm,minimum height=2.4cm,align=center] (c3) at (0.1cm + \xs, -0.9cm + \ys) {}; |
| 41 |
\node[draw=none,fill=none,align=center] at (0.1cm + \xs,-0.9cm + \ys) {公理の\\[5pt]名前}; |
| 42 |
\node[ellipse,draw,fill=grenish,fill opacity=0.5,minimum width=2.4cm,minimum height=1.4cm,align=center] (c4) at (-1cm + \xs, 0cm + \ys) {}; |
| 43 |
\node[draw=none,fill=none,align=center] at (-1cm + \xs,0cm + \ys) {変数の\\[5pt]名前}; |
| 44 |
\node[minimum width=7.4cm, minimum height=5cm,draw] (c) at (0.7cm + \xs,-0.1cm + \ys) {}; |
| 45 |
\draw (4.4cm + \xs,2.4cm + \ys) node[below left] {モジュールC}; |
| 46 |
|
| 47 |
% |
| 48 |
\node[ellipse,draw=none,fill=greyish,circular drop shadow,minimum width=5cm,minimum height=3.6cm,align=center] (m) at (9cm,-0.1cm) {トップレベルの\\[5pt]名前空間} ; |
| 49 |
\draw [-{Latex[length=5mm, width=2mm]}] (m) to [bend right=20] ([yshift=-20pt]a.north east) ; |
| 50 |
\draw [-{Latex[length=5mm, width=2mm]}] (m) to [bend left=20] ([xshift=-20pt]c.north east) ; |
| 51 |
\draw [-{Latex[length=5mm, width=2mm]}] (m) to [bend left=20] ([yshift=-20pt]b.north east) ; |
| 52 |
% |
| 53 |
\draw [-{Latex[length=5mm, width=2mm]}] (b2.north) to [bend right=80] (a2.east) ; |
| 54 |
\draw [-{Latex[length=5mm, width=2mm]}] (c2.north) to [bend right=80] (b2.east) ; |
| 55 |
% |
| 56 |
\draw [-{Latex[length=5mm, width=2mm]}] (b3.west) to [bend left=90] (a3.west) ; |
| 57 |
\draw [-{Latex[length=5mm, width=2mm]}] (c3.west) to [bend left=90] (b3.west) ; |
| 58 |
% |
| 59 |
\draw [-{Latex[length=5mm, width=2mm]}] (b1.west) to [bend left=90] (a1.west) ; |
| 60 |
\draw [-{Latex[length=5mm, width=2mm]}] (c1.west) to [bend left=90] (b1.west) ; |
| 61 |
|
| 62 |
\end{tikzpicture} |
| 63 |
\end{center} |