Skip to content

Instantly share code, notes, and snippets.

@javidcf
Created September 30, 2014 09:16
Show Gist options
  • Save javidcf/195c9676993f88fbf198 to your computer and use it in GitHub Desktop.
Save javidcf/195c9676993f88fbf198 to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\centering
\begin{tikzpicture}
\definecolor{gtRed}{RGB}{85,0,0}
\def \n {6}
\def \radius {2cm}
\node[circle,draw=black,very thick,minimum width={\radius*2}] at (0,0) { };
\foreach \i in {1,2,...,\n}
{
\node[circle,draw=black,very thick,fill=gtRed,minimum width={(\radius)/3}] (D\i) at ({360/(\n) * (\i - 1)}:\radius) { };
}
\path[draw=black,very thick] (D2) edge[bend right=30] (D6);
\path[draw=black,very thick] (D3) edge[bend right=30] (D6);
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment