19 lines
339 B
TeX
19 lines
339 B
TeX
\begin{tikzpicture}
|
|
\input{src/tikz/tsp}
|
|
|
|
\tspnodes
|
|
|
|
\foreach \i in {0,...,\last} {
|
|
\node[tsp/node] at (p\i) {};
|
|
}
|
|
|
|
\begin{scope}[on background layer]
|
|
\foreach \i in {0,...,\penult} {
|
|
\pgfmathtruncatemacro{\b}{\i+1}
|
|
\foreach \j in {\b,...,\last} {
|
|
\draw[black!40] (p\i) -- (p\j);
|
|
}
|
|
}
|
|
\end{scope}
|
|
\end{tikzpicture}
|