I have the following figure, with the code below:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\begin{document}
\begin{tikzpicture}[small mindmap]
\node[concept, concept color=green] {Green\\node}
child[concept color=blue, grow=-65] {
node[concept] {Blue\\Node\\2}
child[concept color=red, grow=-60] { node[concept] {Red\\Node\\3} }
child[concept color=red, grow=-120] { node[concept] (r) {Red\\Node\\2} }
}
child[concept color=blue, grow=-120] {
node[concept] (b) {Blue\\Node\\1}
child[concept color=red, grow=-120] { node[concept] {Red\\Node\\1} }
};
\path (b) to[circle connection bar switch color=from (blue) to (red)] (r);
\end{tikzpicture}
\end{document}
Main question: Why is the color of the connection bars between the green node and the blue nodes incorrect? And how to correct this?
Side question: My way of placing the Red Node 2 as a child of Blue Node 2 and then connect it as I can to Blue Node 1 is kind of a ugly hack. How should one code this more properly?
Side side question: There is some rough description of the mindmap
library in the Beamer user guide, but I have been unable to find some complete documentation. Does it exist?
small
. – Sigur May 5 '15 at 16:43small
indeed.) – Bruno May 5 '15 at 16:44pgfmanual
, which you can open on your system with commandtexdoc --view pgfmanual
. – Ignasi May 5 '15 at 18:44