i would like to draw a network of multiple queues. To build one node i would like to make a node out of this macro (DrawStation) and give it a name.
\usepackage{tikz}
\usetikzlibrary{positioning} % for positioning below,right,...
\usetikzlibrary{shapes.geometric}
% TikZ styles for drawing
\tikzstyle{connector} = [->,thick]
\newcommand{\DrawStation}[1]{
\begin{tikzpicture}
\draw (0,0) -- ++(2cm,0) -- ++(0,-1.5cm) -- ++(-2cm,0);
\foreach \i in {1,...,4}
\draw (2cm-\i*10pt,0) -- +(0,-1.5cm);
% the circle
\draw (2.75,-0.75cm) circle [radius=0.75cm];
\node at (2.75,-0.75cm) {$\mu$};
\node[align=center] at (2.1cm,-2.2cm) {#1};
\end{tikzpicture}
}
\begin{document}
\begin{tikzpicture}
\DrawStation{CPU}
\end{tikzpicture}
\end{document}
Once i got this i want to connect multiple nodes of \DrawStation.Therefor i would like to use this connection:
\path[connector]
(Name of node 1) edge (Name of node 2);
Is there way to realize this picture the way i imagined? Thank you

