I am using the following tikz example (original source)
MWE:
% Author: Till Tantau
% Source: The PGF/TikZ manual
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{mindmap,trees}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}
\path[mindmap,concept color=black,text=white]
node[concept] {Computer Science}
[clockwise from=0]
child[concept color=green!50!black] {%
node[concept] {practical}
[clockwise from=90]
child {node[concept] {algorithms} }
child {node[concept] {data structures} }
child {node[concept] {pro\-gramming languages} }
child {node[concept] {software engineer\-ing} }
}
child[concept color=blue] {%
node[concept] {applied}
[clockwise from=-30]
child {node[concept] {databases} }
child {node[concept] {WWW} }
}
child[concept color=red] {node[concept] {technical} }
child[concept color=orange] {node[concept] {theoretical} };
\end{tikzpicture}\end{document}
Output:
Where each child is spread 60 degrees apart. I presume you control this spacing with sibling angle=60
(got the idea from here), but I can't use it to change the spacing. Could someone modify the MWE to illustrate how to use it. I would very much appreciate it if you could use a different angle for each branch (including the main branch). Thank you.
EDIT: There seems to be some confusion as people think I want to space things out randomly. What I want is this instead, if a node has two children, I want to define the spacing to be 180 degrees, if it has 3 children, I want the spacing to be 120 degrees, 4 children, 90 degrees, 5 children 72 degrees and so on. As is, I must have 6 children for it to not look weird.
child [grow=-10, level distance=160]
is used to place child at certain angle and distance from its parent concept. Is this what you want?pgfmanual
. There you find a comment which saysnote that 'sibling angle' can only be defined in 'level 1 concept/.append style={}'
.sibling angle
has to be defined for every level, it's not possible to apply it to a particular concept. If you want to apply diferent angles to every concept whithin a certain level, you must usegrow
orat
syntax.