1

I'm just starting with mindmaps. How can I make the child nodes in the following code spaced equally around the root node? At the moment they are all squeezed at the bottom.

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{mindmap}

\begin{document}

\begin{tikzpicture}[mindmap] 
\node[concept] {Root concept}
    child {node[concept] {Child concept}} 
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}}   
;
\end{tikzpicture}

\end{document}

enter image description here

2

You need clockwise from or counterclockwise from. Also sibling angle may be important.

\documentclass[tikz]{standalone}
\usetikzlibrary{mindmap}
\begin{document}
\begin{tikzpicture}[mindmap,concept color=yellow] 
\node[concept] {Root concept}
    [clockwise from=0,level 1 concept/.append style={sibling angle=72}]
    child {node[concept] {Child concept}} 
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}}
    child {node[concept] {Child concept}};
\end{tikzpicture}
\end{document}

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.