I'm trying to illustrate some inputs (a time-series) going into a model. The arrow is meant to be centred below the dots. I'm using positioning
to get the relative positions right. If I rotate the arrow, it becomes shifted. How do I rotate but "re-centre" the arrow? Thanks in advance!
Below is a MWE.
\documentclass[tikz,border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.pathreplacing,angles,quotes}
\usetikzlibrary{shapes.geometric,shapes.arrows}
\usetikzlibrary{shadows}
\begin{document}
\tikzset{%
input_circle/.style={%
draw,
circle,
minimum size=1.3cm,
fill=yellow,
font=\small
},
solid_box/.style={%
draw,
thick,
centered
},
cascaded/.style={%
solid_box,
double copy shadow={
shadow xshift=-1ex,
shadow yshift=1ex
}
},
big_arrow/.style={%
single arrow,
draw,
fill=gray
}
}
\begin{tikzpicture}
\node (r_t_k) at (0,0) [input_circle] {$r_{t-k}$};
\node (r_t_k_1) [input_circle,right=0.5cm of r_t_k] {$r_{t-k+1}$};
\node (dots) [minimum size=2cm,right=0.5cm of r_t_k_1] {\huge $\cdots$};
\node (r_t_1) [input_circle,right=0.5cm of dots] {$r_{t-1}$};
\node (r_t) [input_circle,right=0.5cm of r_t_1] {$r_t$};
\node (arrow1) [big_arrow,rotate=-90,below=0.2cm of dots.south] {a};
% lstm
\node (lstm) [cascaded, minimum width=6cm, minimum height=1.5cm, fill=orange, below=1cm of arrow1] {\Large LSTM};
\end{tikzpicture}
\end{document}
[shape border rotate=90]
is the official option that is defined to rotate only the border and is in the manual.