I need to add notes where "Write Text Here" is. I do not want it to be part of the node. Is there a way to add notes next to a node.
Below is my code;
Thank you
\tikzstyle{every node}=[draw=white,thick,anchor=west]
\tikzstyle{selected}=[dashed,fill=red!30]
\tikzstyle{optional}=[dashed,fill=gray!50]
\begin{tikzpicture}[%
grow via three points={one child at (0.5,-0.7) and
two children at (0.5,-0.7) and (0.5,-1.4)},
edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}]
\node[fill=purple] {\color{white}\textbf{{Main Theorem}}}
child { node {Lemma1: {\small Write Text Here}}}
child { node {Lemma2:}
child {node {\small Write Text Here}}}
child { node {Lemma3: {\small n}}}
child { node {Lemma4: {\small Write Text Here}}}
child { node {Lemma5: {\small Write Text Here}}}
child { node {Lemma6: {\small Write Text Here}}}
child { node [selected]{Lemma7: {\small Write Text Here}}}
child { node [selected]{Lemma8: {\small Write Text Here}}}
%child [missing] {}
child { node [selected]{Lemma9: {\small Write Text Here}}}
;
\end{tikzpicture}
{}
on the gui. It is better to post a full minimal working example. For example, if you are using latex then it should start with a\documentclass
command, have a minimal preamble and then\begin{document}...\end{document}
. This makes it much easier for people to help you --- and much more likely that they will! – user30471 Apr 11 '16 at 21:20label
then e.g.... node [label=right:{\small Write Text Here}] ... {Lemma2}
etc. – cfr Apr 11 '16 at 22:35