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

learn more… | top users | synonyms

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= ...
0
votes
1answer
694 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
882 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
909 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
2k 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
653 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
533 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
711 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 = ...