I am trying to draw a figure similar to this one from Warrington, G. S. (2005). Juggling probabilities. The American Mathematical Monthly, 112(2), 105-118, using TiKz package in LaTeX
I know how to create rectangles as nodes, and connect nodes with the arrows. However, I can't find how to draw white and black circles inside nodes. Here some code that I have:
\begin{figure}
\begin{center}
\begin{tikzpicture}[scale=2.5,->,>=stealth',shorten >=1pt,auto,inner sep=2pt,semithick,bend angle=20]
\node[rectangle,draw] (A) at (0,0) {Rectangle};
\node[rectangle,draw] (B) at (1,0) {Rectangle};
\node[rectangle,draw] (C) at (2,0) {Rectangle};
\node[rectangle,draw] (D) at (3,0) {Rectangle};
\node[rectangle,draw] (E) at (4,0) {Rectangle};
\path (A) edge [bend right,looseness=0.9] node[swap] {$1$} (B)
(B) edge [bend right,looseness=0.9] node[swap] {$\dfrac{1}{4}$} (A)
edge [bend right,looseness=0.9] node[swap] {$\dfrac{3}{4}$} (C)
(C) edge [bend right,looseness=0.9] node[swap] {$\dfrac{1}{2}$} (B)
edge [bend right,looseness=0.9] node[swap] {$\dfrac{1}{2}$} (D)
(D) edge [bend right,looseness=0.9] node[swap] {$\dfrac{3}{4}$} (C)
edge [bend right,looseness=0.9] node[swap] {$\dfrac{1}{4}$} (E)
(E) edge [bend right,looseness=0.9] node[swap] {$1$} (D);
\end{tikzpicture}
\caption{Transition}
\end{center}
\end{figure}
node
you can insert TeX commands, eg.$\bullet\circ$
. – Sigur Nov 16 '17 at 20:46