| 1 |
\newcommand{\repeater}[3]{% |
| 2 |
\node ({#1}) at ({#2}) {% |
| 3 |
\begin{tikzpicture}% |
| 4 |
\draw [black,thick] (-.25,0) -- (0,0.5) -- (0.25,0) -- (-0.25,0);% |
| 5 |
\draw [black,thick,domain=-45:225] plot ({0.2*cos(\x)}, {0.5+0.2*sin(\x)});% |
| 6 |
\draw [black,thick,domain=-45:225] plot ({0.4*cos(\x)}, {0.5+0.4*sin(\x)});% |
| 7 |
\node (xxx) at (0,-.2) {{#3}};% |
| 8 |
\end{tikzpicture}% |
| 9 |
} % |
| 10 |
} |
| 11 |
|
| 12 |
\newcommand{\activerepeater}[3]{% |
| 13 |
\node ({#1}) at ({#2}) {% |
| 14 |
\begin{tikzpicture}% |
| 15 |
\draw [black,thick] (-.25,0) -- (0,0.5) -- (0.25,0) -- (-0.25,0);% |
| 16 |
\draw [red,thick,domain=-45:225] plot ({0.2*cos(\x)}, {0.5+0.2*sin(\x)});% |
| 17 |
\draw [red,thick,domain=-45:225] plot ({0.4*cos(\x)}, {0.5+0.4*sin(\x)});% |
| 18 |
\node (xxx) at (0,-.2) {{#3}};% |
| 19 |
\end{tikzpicture}% |
| 20 |
} % |
| 21 |
} |
| 22 |
|
| 23 |
|
| 24 |
\newcommand{\user}[3]{% |
| 25 |
\node ({#1}) at ({#2}) {% |
| 26 |
\begin{tikzpicture}% |
| 27 |
\draw [black,fill=black] (-.25,0) -- (0,0.5) -- (0.25,0) -- (-0.25,0);% |
| 28 |
\draw [black,fill=black] (0,.5) circle (.2); % |
| 29 |
\node (xxx) [text width=0.6cm, align=center] at (-.35cm,-.4) {{#3}};% |
| 30 |
\end{tikzpicture}% |
| 31 |
} % |
| 32 |
} |
| 33 |
|
| 34 |
\newcommand{\activeuser}[3]{% |
| 35 |
\node ({#1}) at ({#2}) {% |
| 36 |
\begin{tikzpicture}% |
| 37 |
\draw [red,fill=red] (-.25,0) -- (0,0.5) -- (0.25,0) -- (-0.25,0);% |
| 38 |
\draw [red,fill=red] (0,.5) circle (.2); % |
| 39 |
\node (xxx) [text width=0.6cm, align=center] at (-.35cm,-.4) {{#3}};% |
| 40 |
\end{tikzpicture}% |
| 41 |
} % |
| 42 |
} |