mesh.collapse.tex 3.63 KB
Newer Older
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
\documentclass{minimal}

% Tikz
\usepackage{pgf}
\usepackage{tikz}
\usepackage{color}

\definecolor{ACG}{RGB}{55,91,64}

\begin{document}

\begin{center}

%\colorbox{ACG}{

\begin{tikzpicture}
 [
 	vertex/.style={draw=none,circle,fill=white,minimum size=2pt},
	edge/.style={draw,white,thick},
	hedge/.style={->,>=latex,shorten >=5pt,draw,white,very thick},
	redge/.style={line width=3pt,color=red!50!white}
 ]

\begin{scope}[yshift=-3.6cm]

\begin{scope}[xshift=-4cm,x={(1.4,0)},y={(0,1.4)}]

\coordinate (V1) at (-1,1);
\coordinate (V2) at (-1,3);
\coordinate (V3) at (0,0);
\coordinate (V4) at (0,2);
\coordinate (V5) at (0,4);
\coordinate (V6) at (1,3);
\coordinate (V7) at (1,1);

\draw[edge] (V1) -- (V2) {};
\draw[edge] (V2) -- (V4) {};


\draw[hedge] ([xshift=-2pt]V4) -- ([xshift=-2pt]V3) {};
\draw[hedge,color=red!50!white] ([xshift=2pt]V3) -- ([xshift=2pt]V4) {};

\draw[edge] (V3) -- (V1) {};

\draw[edge] (V4) -- (V6) {};
\draw[edge] (V6) -- (V7) {};
\draw[edge] (V7) -- (V3) {};

\draw[edge] (V2) -- (V5) {};
\draw[edge] (V5) -- (V6) {};

\node[vertex] at (V1) {};
\node[vertex] at (V2) {};
\node[vertex] at (V3) {};
\node[vertex] at (V4) {};
\node[vertex] at (V5) {};
\node[vertex] at (V6) {};
\node[vertex] at (V7) {};

\end{scope}

\draw[->,>=latex,thick,white] (-1.5, 4) arc (105:75:6);
\node[above] at (0, 4.2) {\textcolor{white}{\textbf{Collapse edge}}};

\begin{scope}[xshift=4cm,x={(1.4,0)},y={(0,1.4)}]

\coordinate (V1) at (-1,1);
\coordinate (V2) at (-1,3);
%\coordinate (V3) at (0,0);
\coordinate (V4) at (0,2);
\coordinate (V5) at (0,4);
\coordinate (V6) at (1,3);
\coordinate (V7) at (1,1);

\draw[edge] (V1) -- (V2) {};
\draw[edge] (V2) -- (V4) {};
\draw[edge] (V4) -- (V1) {};

\draw[edge] (V4) -- (V6) {};
\draw[edge] (V6) -- (V7) {};
\draw[edge] (V7) -- (V4) {};

\draw[edge] (V2) -- (V5) {};
\draw[edge] (V5) -- (V6) {};

\node[vertex] at (V1) {};
\node[vertex] at (V2) {};
\node[vertex] at (V4) {};
\node[vertex] at (V5) {};
\node[vertex] at (V6) {};
\node[vertex] at (V7) {};

\end{scope}

\end{scope}

\begin{scope}[yshift=3.6cm]

\begin{scope}[xshift=-4cm,x={(1.4,0)},y={(0,1.4)}]

\coordinate (V1) at (-1,1);
\coordinate (V2) at (-1,3);
\coordinate (V3) at (0,0);
\coordinate (V4) at (0,2);
\coordinate (V5) at (0,4);
\coordinate (V6) at (1,3);
\coordinate (V7) at (1,1);

\draw[edge] (V1) -- (V2) {};
\draw[edge] (V2) -- (V4) {};


\draw[hedge,color=red!50!white] ([xshift=-2pt]V4) -- ([xshift=-2pt]V3) {};
\draw[hedge] ([xshift=2pt]V3) -- ([xshift=2pt]V4) {};

\draw[edge] (V3) -- (V1) {};

\draw[edge] (V4) -- (V6) {};
\draw[edge] (V6) -- (V7) {};
\draw[edge] (V7) -- (V3) {};

\draw[edge] (V2) -- (V5) {};
\draw[edge] (V5) -- (V6) {};

\node[vertex] at (V1) {};
\node[vertex] at (V2) {};
\node[vertex] at (V3) {};
\node[vertex] at (V4) {};
\node[vertex] at (V5) {};
\node[vertex] at (V6) {};
\node[vertex] at (V7) {};

\end{scope}

\draw[->,>=latex,thick,white] (-1.5, 4) arc (105:75:6);
\node[above] at (0, 4.2) {\textcolor{white}{\textbf{Collapse edge}}};

\begin{scope}[xshift=4cm,x={(1.4,0)},y={(0,1.4)}]

\coordinate (V1) at (-1,1);
\coordinate (V2) at (-1,3);
\coordinate (V3) at (0,0);
%\coordinate (V4) at (0,2);
\coordinate (V5) at (0,4);
\coordinate (V6) at (1,3);
\coordinate (V7) at (1,1);

\draw[edge] (V1) -- (V2) {};
\draw[edge] (V2) -- (V3) {};
\draw[edge] (V3) -- (V1) {};

\draw[edge] (V3) -- (V6) {};
\draw[edge] (V6) -- (V7) {};
\draw[edge] (V7) -- (V3) {};

\draw[edge] (V2) -- (V5) {};
\draw[edge] (V5) -- (V6) {};

\node[vertex] at (V1) {};
\node[vertex] at (V2) {};
\node[vertex] at (V3) {};
\node[vertex] at (V5) {};
\node[vertex] at (V6) {};
\node[vertex] at (V7) {};

\end{scope}

\end{scope}
\end{tikzpicture}

%}

\end{center}

\end{document}