The idea is to define several shapes useful for example in control schemes.
For example a generic shape for conversion could be defined instead of creating one shape for each conversion.

The code corresponding to the previous picture was achieved with
\documentclass[tikz]{minimal}
\def\alphabetatodq{
\begin{tikzpicture}
\draw[rounded corners=5pt] (0,0) rectangle (1,1);
\draw (0.1,0.1) -- (.9,.9);
\node at (0.25,0.8) {$\alpha\beta$};
\node at (0.75,0.2) {dq};
\end{tikzpicture}
}
\begin{document}
\begin{tikzpicture}
\node at (0,0) {\alphabetatodq};
\end{tikzpicture}
\end{document}
Another requirement is after my test with the \def stuff, it leads to white spaces around the shape when trying to connect it.

The code is
\documentclass[tikz]{minimal}
\def\alphabetatodq{
\begin{tikzpicture}
\draw[rounded corners=5pt] (0,0) rectangle (1,1);
\draw (0.1,0.1) -- (.9,.9);
\node at (0.25,0.8) {$\alpha\beta$};
\node at (0.75,0.2) {dq};
\end{tikzpicture}
}
\begin{document}
\begin{tikzpicture}
\node (a) at (0,0) {\alphabetatodq};
\draw (-2,0) -- (a) -- (2,0);
\end{tikzpicture}
\end{document}
All this would be nice if the concept can be extended to shape without inner parametric content.
A small hack like this shows the white surrounding spacing problem
\documentclass[tikz]{minimal}
\def\alphabetatodq{
\begin{tikzpicture}
\draw[rounded corners=5pt] (0,0) rectangle (1,1);
\draw (0.1,0.1) -- (.9,.9);
\node at (0.25,0.8) {$\alpha\beta$};
\node at (0.75,0.2) {dq};
\end{tikzpicture}
}
\begin{document}
\begin{tikzpicture}
\node[draw,rounded corners=5pt] (a) at (0,0) {\dctoac};
\draw (-2,0) -- (a) -- (2,0);
\end{tikzpicture}
\end{document}




circle solidusshape fromshapes.multipartlibrary. That would be a genuine node shape so you don't need to nest TikZ pictures. – percusse Jul 03 '13 at 13:10late optionslikeappend after command; a couple of references: http://tex.stackexchange.com/q/98289/13304 for the line and http://tex.stackexchange.com/a/106836/13304 for getting hints about the labels. – Claudio Fiandrino Jul 03 '13 at 13:28inner sepsettings and (if the border is not drawn) theouter sepsettings. – Qrrbrbirlbel Jul 03 '13 at 15:19