6

I'm trying to build a mind map in TikZ and am having numerous problems.

I have only a very basic grasp of TeX and would like some help.

I found a source and replaced text to create my first steps.

Now I'd like:

  1. To add child nodes to my child nodes

  2. A bigger canvas

How do I do them?

Source code:

\documentclass{article}

    \usepackage{tikz}
    \usetikzlibrary{mindmap,trees}

    \begin{document}
    \begin{tikzpicture}
      \path[mindmap,concept color=black,text=white]
        node[concept] {Die Wahrnehmung}
        [clockwise from=0]
        child[concept color=green!50!black] {
          node[concept] {Sensorische Prozesse}
          [clockwise from=90]
          child { node[concept] {Sinnes\-organe} }
          child { node[concept] {Schwellen} 
  child {node[concept] {absolute Schwelle}}
  child {node[concept] {Unterschiedsschwelle}}
  }
  child { node[concept] {Optische Täuschungen aufgrund sensorischer Prozesse} 
    }
} 
child[concept color=blue] {
  node[concept] {Organisation}
  [clockwise from=-30]
  child { node[concept] {Hauptsatz} }
  child { node[concept] {Gestaltgesetze} }
}
child[concept color=red] { node[concept] {Klassifikation} };
\end{tikzpicture}
\end{document}

enter image description here

5
  • I have fixed the code and added the image but I am not sure if that was your actual question. So please let us know if I edited a little too much.
    – percusse
    Feb 23, 2012 at 11:21
  • No, that's exactly what I need! Thanks, let me try a bit further and report back with the next problem…
    – Edd Turner
    Feb 23, 2012 at 11:26
  • Oh, please ask a new question. You are definitely welcome to ask follow-up questions as seperate questions. Moreover, you can link to this question in your new ones.
    – percusse
    Feb 23, 2012 at 11:29
  • OK, my new question is tex.stackexchange.com/questions/45515/…
    – Edd Turner
    Feb 23, 2012 at 12:14
  • You may want to load `\usepackage[utf8x]{inputenc} to support Umlaute, and may want to have a look at tex.stackexchange.com/questions/45517/… for automatic hyphenation of German words.
    – Unapiedra
    Feb 23, 2012 at 12:23

1 Answer 1

9

Just nest further, add children after nodes. The tikzpicture canvas will be extended. Here's a small example with four levels. You can extend it, add and modify styles.

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\begin{document}
\begin{tikzpicture}
  \path[mindmap,concept color=blue,text=white,
    level 1 concept/.append style=
      {every child/.style={concept color=blue!70},sibling angle=-30}]
      node[concept] {\Huge\bfseries PGF}[clockwise from=0]
        child {node[concept]{\LARGE Ti\emph{k}Z}
            child{node[concept] {\large arrows}
                child {node[concept] {thick}}
                child {node[concept] {thin}}}
            child{node[concept] {\large mindmap}}
            child{node[concept] {\large plots}} };
\end{tikzpicture}
\end{document}

mindmap

1
  • Do you know how to connect also plots and mindmap so we would have a triangle of nodes?
    – Sigur
    Sep 10, 2015 at 2:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .