Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to change the level of a specific node in a tikz mindmap, with something like node[level=1], [style=level 1/.style], or something like the skip level style. I would like to avoid making an overlapping tree like in the scientific interactions example.

    \documentclass{standalone}
    \usepackage{tikz}
    \usetikzlibrary[mindmap]

    \begin{document}

    \begin{tikzpicture}[mindmap,every node/.style=concept,text=white]
    \node {root}
        child {node {level 1 node}
            child {node {level 2 node}
            child[concept color=blue] {node {level 1 node}}
            child {node {level 3 node}}
            }
        }
        ;
\end{tikzpicture}            
\end{document}

Any suggestions? Thanks in advance :)

the blue node should be level 1

share|improve this question
    
I don't think this is possible. In the case of a more complicated tree, how would TikZ decide to which node the child is to be attached? –  Paul Gessler Mar 31 at 1:47
    
In this case the node would still be a "level 3", although it's appearance would be that of a "level 2". A child to this node would then be a "level 4", so it would be necessary to change the style for each node in this branch. Actually what would be nice would be to be able to create a "parent" the same way we create a "child"... –  Joe H. Apr 1 at 6:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.