I would like to draw the following rectangle divided by two using tikzpicture environment:
However, what I achieved so far is:
MWE:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart}
\usetikzlibrary{decorations.text}
\begin{document}
% Bend curves from https://tex.stackexchange.com/a/22316/152550
\begin{tikzpicture}[delay rect/.style={rectangle split, rectangle split parts=2,draw,
minimum width=1.5cm,minimum height=1cm,
text width=2cm,align=center,inner ysep=2cm,draw,inner ysep=3mm,inner
xsep=3mm}] % From https://tex.stackexchange.com/a/452609/152550
\node (start) at (0,0) {Start};
\node (end) at (6,0) {End};
\node[rotate=60,delay rect] (delay) at (3,0) {A1\nodepart{two}text here};
\def\myshift#1{\scriptsize\raisebox{1ex}}
\draw [->,postaction={decorate,decoration={text along path,text align=center,text={|\myshift|hello}}}] (start) to [bend left=10] (delay);
\draw [->,postaction={decorate,decoration={text along path,text align=center,text={|\myshift|bye}}}] (delay) to [bend left=10] (end);
\end{tikzpicture}
\end{document}
Thanks!



\scriptsize)?; 2) reduce a little more the height of the rectangle?; 3) reduce a little more the width of each part of the rectangle so that there is not so much space between the text and the edges? (the latter is not necessary) – manooooh Dec 08 '18 at 01:13tikz & pgf manual, at least part III :-). i will add some instruction to answer asap (however, this is not part of your question). – Zarko Dec 08 '18 at 01:16{\scriptsize A1\nodepart{two}\scriptsize text here}and addingminimum height=.1cm. – manooooh Dec 08 '18 at 01:17