The ‘standard’ node

RAW | PDF

% Title    : The 'standard' node
% Author   : George Ungureanu
% Category : tikz
\documentclass{standalone}
\usepackage{forsyde-tikz}
\begin{document}
\begin{tikzpicture}[constructors=shallow]
  \standard[shape=leaf shape, hasmoc, moc=de, ni=8, no=10, type=mealy, nf=4, f1=$+1$, f3=$\sin$, inner ysep=15pt] (std) <0,0> {Proc};
  \foreach \i in {1,...,4} {
    \node[anch] (a) at (std-f.n\i) {}; \node[label, anchor=west, rotate=90] (l) at (a.east) {\texttt{std-f.n\i}};
  }
  \foreach \i in {1,...,8} {
    \node[anch] (a) at (std.w\i) {}; \node[label, anchor=east] (l) at (a.west) {\texttt{std.w\i}};
  }
  \foreach \i in {1,...,10} {
    \node[anch] (a) at (std.e\i) {}; \node[label, anchor=west] (l) at (a.east) {\texttt{std.e\i}};
  }
\end{tikzpicture}
\end{document}