I am trying to draw the following image using tikz libray. What I did so far is this:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shadows,fadings}
\usetikzlibrary{calc}
\usetikzlibrary{positioning}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[
myrectangle/.style={rectangle, draw, minimum width=160, minimum height=40, ultra thick, rounded corners=0, red, text=black}
]
\node[myrectangle,drop shadow={top color=red,
bottom color=white,
shadow xshift=1em,
shadow yshift=-4em,
rounded corners },] (a) at (0,0) {\Large Some Long Text Goes here};
\node[myrectangle, right=0 of a, xshift=3cm] (b) {\Large B};
\node[myrectangle] (a) at (0,-5) {\Large text};
\node[myrectangle, right=0 of a, xshift=3cm] (b) {\Large B};
\end{tikzpicture}
\end{figure}
\end{document}
- The padding on left of this figure is more than the right. I want the left padding to be the same as the right padding
- The text inside the green circle "Some long text goes here" should be in two line. For example "Some long text" in one line and "goes here" in new line
- I need to have a little shadow below and to the right side of each rectangle. The shadow in my figure is way too much what i need is about a 1mm thick shadow. For example the amount of shadow highlighted using silver line.
- And the rectangles should have arrows with labels as shown (blue color arrows)
\usepackage[margin=1cm]{geometry}