I have the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{chains,shapes.multipart}
\usetikzlibrary{shapes,calc}
\usetikzlibrary{automata,arrows,shapes,snakes,automata,backgrounds,petri,positioning}
\tikzset{
myshape/.style={
rectangle split,
minimum height=1.5cm,
rectangle split horizontal,
rectangle split parts=2,
draw,
text width=2cm,
anchor=center,
}
}
\begin{document}
\begin{tikzpicture}[scale = 0.2,bend angle = 35, inner sep=2mm,
queue/.style={rectangle split, rectangle split horizontal,rectangle split draw splits = false,rectangle split part fill = {white!100,####1} , rectangle split parts=2, draw, anchor=center, minimum height = 1cm},
dispatcher/.style={rectangle,draw=blue!50!black,fill=blue!20!white,thick, minimum height = 1cm, minimum width = 1.5cm}]
\node[dispatcher] (disp) {};
\node[queue = gray!50] (queue2) [above right= 0.1cm and 3cm of disp] {$\qquad$ \nodepart{two}$\qquad \qquad \qquad \qquad$};
\node[queue = red!50] (queue1) [above=0.3cm of queue2] {$\qquad\qquad \qquad$ \nodepart{two}$\qquad \qquad$}
edge [pre, bend right,line width = 0.4mm] (disp.east)
;
\node[queue = green!50] (queue3) [below right=0.1cm and 3cm of disp] {$\qquad\qquad \qquad \qquad$ \nodepart{two}$\qquad$}
edge [pre, bend left,line width = 0.4mm] (disp.east);
\node[queue = red!50] (queue4) [below=0.3cm of queue3] {$\qquad$ \nodepart{two}$\qquad \qquad \qquad \qquad$}
edge [pre, bend left, line width = 0.4mm] (disp.east);
\draw[loosely dotted, line width = 0.4mm] (queue2) -- (queue3);
\end{tikzpicture}
\end{document}
which produces the following picture:
I was wondering what I should change to do the following:
- Put some text on top of the arrows.
- Let the arrows end at the west side of the queues.




#1or by using the beamer class. – Jan 05 '18 at 22:30