{tikz-trees} is for questions addressing issues related to trees in {tikz-pgf}.

learn more… | top users | synonyms

5
votes
1answer
496 views

How to align a vertical tree to the upper-left corner?

How do I align vertical trees to to the top? This is my current tree:       I want to get this tree:                  ^ That's a part of ...
7
votes
1answer
2k views

LaTeX probability tree

Please could you tell me if the Probability tree posted on 2006-12-14 by Kjell Magne Fauske can be done with three branches instead of just two.
2
votes
2answers
508 views

Tree in a graph's node

I am trying to figure out how I can draw a tree in a graph's node with tikz. Meaning, the node is not supposed to have a value or name but a tree inside of the circle around it. I tried the following ...
10
votes
1answer
1k views

TikZ: connecting nodeparts

I'm new to TikZ. Last couple of hours in fact. I was wondering if there was a way of connecting nodeparts from different nodes. Here's an example \documentclass{article} \usepackage{tikz} ...
8
votes
2answers
5k views

TikZ tree sibling distance

I have been struggling a bit with TikZ and how to build trees. What I need now is some advice on how to improve the node placement. Right now I have these 2 trees: ...
4
votes
2answers
450 views

Making mixed trees with and without text-containing nodes

I’m using TikZ to draw linguistic syntax trees where some nodes have textual labels and some nodes don’t. I’d like the branch from a labelless node to continue at the same angle into the right hand ...
9
votes
1answer
3k views

Decision Tree with Tikz

I am trying to draw a decision tree. I have gotten very close to the end result with this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{trees,shapes,snakes} \begin{document} ...
2
votes
0answers
264 views

Vertical trees with TikZ [duplicate]

Possible Duplicate: Drawing a directory listing a la the tree command in TikZ Is there a way to configure the trees drawn by TikZ to have child nodes at the same level listed below each ...
2
votes
1answer
319 views

How does one use \node[inner node]{}?

I'm trying to reproduce a TikZ tree from a Till Tantau presentation (see pg.33 of this .pdf) My code is as follows: \documentclass{article} \usepackage[latin1]{inputenc} ...
6
votes
2answers
2k views

How to modify the distance between branches when drawing trees using TiKZ?

I want to modify the distance between a parent node and a child node when drawing a tree using TiKZ package. I looked at the example at TiKZ site, and add a property called sibling distance. However, ...
3
votes
2answers
1k views

TeX memory size error when using TikZ foreach children in trees

Nearly Identical: How to expand TeX's “main memory size”? (pgfplots memory overload) I'm getting the same error as the other question, but the answer there is not handling my issue. I believe the ...
19
votes
3answers
5k views

Drawing a directory listing a la the tree command in TikZ

Good day everyone - Is there a fast and efficient way to draw directory tree structures (aka depth-indented listings) like the unix's tree command, that is, is there a way to draw the following using ...
9
votes
2answers
2k views

Joining two branches of a family tree

I'm trying to write out a family tree for a friend, and I have a few minor issues. My code is \documentclass{article} \usepackage{tikz-qtree} \begin{document} \tikzset{edge from parent/.style= ...
1
vote
1answer
699 views

Tweaking behaviour of tikz trees for Feynman diagrams

I am working with tikz to draw Feynman diagrams, and I have a few questions about tweaking the behavior of the following code. \documentclass[a4paper,12pt]{article} \usepackage{tikz} ...
1
vote
1answer
886 views

How do I draw a B+ tree with tikz in latex with more than 4 Key value pair in a node

I'm using child {node {1 \nodepart{two} 2 \nodepart{three} 3 \nodepart{four} 4 \nodepart{five} 5 \nodepart{six} 7}} to create a node in btree. However it seems that \nodepart{five} and ...
5
votes
2answers
1k views

Looking for an example of an OLAP cube with dimensions drawn in TikZ

I am looking for an example of a TikZ picture of an OLAP cube with dimension hierarchy. More-less something like this cube: I know how to draw a cube based on What is the easiest way to draw 3D ...
4
votes
3answers
1k views

Probability tree using TikZ for Bernoulli experiments?

Consider the tree below. Is there an easy way to label every left edge q, every right edge p, every left node f and every right node r, without doing it manually for every level? Second question: Is ...
5
votes
1answer
929 views

TikZ trees grow right typesets things “upside down”

This is a pretty minor gripe with what is a great library. \documentclass[border=3em]{standalone} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[grow=right] \node {a} ...
3
votes
2answers
3k views

Fit flowchart into one page

I am trying to create a flowchart using TikZ and i have few difficulties... My flowchart doesn't fit into one A4 page The text Yes \ No is on the line and not on the side of it. The size of decision ...
4
votes
1answer
3k 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
1
vote
1answer
658 views

Drawing AND/OR trees in Tikz

Is there a simple way to achieve this type of graph? Obviously a lot neater than this... But the important feature is the join between the two children of P.
3
votes
3answers
1k 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} ...
10
votes
3answers
1k views

Drawing a tree of grids

I need to draw a game tree that is similar to the image below. Is there any way to do this using the Tikz package so that the grids can simply be added as nodes?
14
votes
2answers
537 views

Error with cleveref + enumerate + tikz-qtree

I get an error in my document in the following circumstance: Using the cleveref package And the tikz-qtree package (for drawing syntax trees) Inside an enumerate environment Here's a MWE: ...
8
votes
1answer
5k views

How to set style of a single edge in the tree (TikZ) ?

The Tikz manual gives "edge from parent" construct. But it is peculiar (it changes all the edges in subtree and some nodes). How to color and thicken exactly one edge?
3
votes
2answers
720 views

Is this a TikZ bug?

I have this TikZ code: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} [ level 1/.style={sibling distance = 2cm, level distance = ...