I often need to make of diagrams involving cells and/or other medium complex shapes. At the for this I work with nodes, since they are easy to position and to connect. To make the cell shapes I use additional tikzfigure enviroments within the nodes. See the following minimal example.
This is not optimal and I wonder if there is a simpler solution. I tried \pic put they are less flexible than nodes. Probably \pgfdeclareshape would be the way to go, isn't? But this is a little too complicated for my to figure out. Is there an easy explanation or another solution? The simplest would be to make a tikzstyle for the whole cell.
MWE
\documentclass[]{minimal}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{shapes}
\tikzstyle{cytosol} = [thick, draw=red!60, fill = red!20, ellipse, minimum width=35, minimum height= 22, align=center, rotate = 30]
\tikzstyle{nucleus} = [thick, draw=olive!80, fill = brown!20, circle, minimum width=10, align=center]
\begin{document}
\begin{tikzpicture}
\node[] (Cell1) {
\begin{tikzpicture}
\node[cytosol] at(0,0) (cytosol) {};
\node[nucleus, shift={(0.15,0.1)}] () at(cytosol) {};
\end{tikzpicture}{}
};
\node[right of= Cell1, xshift = 1 cm] (Cell2) {
\begin{tikzpicture}
\node[cytosol, draw=gray!40, fill = gray!60] at(0,0) (cytosol) {};
\node[nucleus, shift={(0.15,0.1)}] () at(cytosol) {};
\end{tikzpicture}{}
};
\node[right of= Cell2, xshift = 1 cm] (Cell3) {
\begin{tikzpicture}
\node[cytosol] at(0,0) (cytosol) {};
\node[nucleus, shift={(0.15,0.1)}] () at(cytosol) {};
\end{tikzpicture}{}
};
\draw[->] (Cell1) --(Cell2);
\draw[->] (Cell2) --(Cell3);
\end{tikzpicture}
\end{document}
This results in this picture:


piccross my mind ... – Zarko Mar 17 '20 at 13:46tikzpictures which should be avoided by all means. Also,\tikzstyleis deprecated. – Mar 18 '20 at 00:48picand they look really helpful. The one thing that I struggle is, that I don't know how you can easily connect differentpicswith arrows – WitheShadow Mar 18 '20 at 07:12picwith arrows. This could solve my problem. – WitheShadow Mar 18 '20 at 07:58