# Questions tagged [trees]

{trees} is for questions about drawing or constructing tree {diagrams} (for example, family trees).

423 questions
1answer
2k views

### How to draw a tree diagram where its rectangular nodes have a floating numbering label each?

This is a graph someone send me in Word: Ignoring the Hebrew text, how can I produce such a graph in LaTeX (I actually use LyX, but I suppose it won't help me so much)? If there's an elegant and ...
4answers
19k views

### How to control spacing in a TikZ tree?

I want to draw a tree and I don't know how to enforce the spacing between them. Some are overlapping. This is my code: \begin{tikzpicture} \tikzstyle{every node}=[circle,draw] \node {A} child { node ...
2answers
11k views

### How to draw up a hierarchical tree diagram for taxonomic classification

Please show me the most simple, elegant code for this: How to do it in other words.
4answers
3k views

### How to draw syntactical trees with parallel leaves for a natural language?

I need to draw syntactical trees for a natural language. The problem is that I need all the leaves to be parallel. How the other nodes are sorted in relation to the other at the same depth is not ...
2answers
5k views

### Probability Tree-diagram with TikZ

Thanks for helping me out. How can I make the following tree-diagrams? http://www.vias.org/tmdatanaleng/cc_prob_cond_independ.html
3answers
11k views

### How do I draw a B+ tree in latex?

Is there some way to draw a B+ tree in latex? It would look something like the picture below (ignoring the animations) Animation linked here: http://i.stack.imgur.com/JRcmY.gif Screenshot of the ...
3answers
2k views

### Why is this tree overlapping and missing edges?

\node [circle, draw] at (6, 0) {63} child{node [circle, draw] (left node) {26} child{node [rectangle,draw] (left node) {A:12}} child{node [circle, draw] (right node) {14} child{...
1answer
826 views

### TeXMaker crashes with this TikZ tree [closed]

\node [rectangle,draw] at (0,-13) {I:18}; \node [circle, draw] at (2,-13) {19} child{node[rectangle,draw] (left node) {S:9}} child{node[rectangle,draw] (right node) {M:10}}; \node [circle, ...
1answer
2k views

5answers
28k views

### How to make a 3 level deep tree with tikz

I am busy making a full binary tree of three levels deep. The code I am having now is (using the trees library): \begin{tikzpicture} \node {root} child {node {left} child {node {lleft}} ...
2answers
3k views

### How two connect any arbitrary nodes of tree in tikz

I need to be able to connect any arbitrary nodes in a tree to each other. I am using the tree package in tikz to create my tree. I cannot figure out though how to connect to nodes by let say a draw ...
3answers
4k views

### Rounded corners in TikZ trees.

When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around it? \documentclass{...