I am trying to draw a FSM (with \usetikzlibrary{automata}) that has trees as states. With my current code, the edges of trees inside states are only drawn incompletely. What may be causing this and how can I fix it?
My code:
\begin{tikzpicture}[->]
\node[state, inner sep=0] (q) {
\begin{tikzpicture}[-]
\node {$ \{ q_I, f, g, h, i \} $}
child {node {$ \{ q_I \} $}}
child {node {$ \{ f, g, h \} $}
child {node {$ \{ g \} $}}
child {node {$ \{ h \} $}}
};
\end{tikzpicture}
};
\end{tikzpicture}
The result:


tikzpictures. – May 11 '19 at 14:16tikzpictures is a bad idea. Notice that by now this is even "more unsupported" than it used tp be, and future versions of TikZ may issue a warning if you do it, so don't. ;-) – May 11 '19 at 15:57