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

learn more… | top users | synonyms

1
vote
1answer
134 views

Package for drawing cause effect graphs (-> software test technique)

Is there a package or a package extension for drawing cause effect graphs (see the screenshot below for atomic elements). If there is no package can someone explain how I can achieve this by using ...
4
votes
3answers
126 views

Alignment in directory tree

I want to draw a directory tree, see the code below. I can't get the alignment right in the following areas: The H of Here is text and the T of This is some more text must align. All horizontal ...
0
votes
1answer
82 views

How can I make a tree (forest) with simple commands like Geophar?

I use Geophar http://sourceforge.net/projects/geophar/ With this Program, I can easy to make a tree. With the code ||Tirage 1|Tirage 2|Tirage 3 omega >A:0,7 >>B:0,2 >>C:0,8 >&A:...
1
vote
0answers
20 views

Binomial pricing trees using tikz [duplicate]

How do you make binomial pricing trees using tikz? I mean a tree like the this, but with only three time periods.
1
vote
1answer
104 views

Making trees(time to most recent common ancestor) along a DNA sequence

Hi I have a DNA sequence and i want to draw a figure that says the tree height ( time to most reason common ancestor) can change. It is a rather difficult job and I can't figure out how to draw the "...
5
votes
1answer
342 views

Drawing Markov Decision Processes with Tikz

I thought this would be much easier. I am trying to recreate the standard MDP graph that is basically the same as a Markov Chain (I know a lot of posts about that) but with the addition of lines that ...
2
votes
1answer
58 views

tikz: Shifting a node

I'm new to tikz so any advice appreciated. I have the following tree, but I need the FP node to be an the same level (vertically) as the price node. \begin{tikzpicture} [level distance=10mm, level 1/....
3
votes
1answer
86 views

Display tikzpiture environment in Righ to Left direction in a Document using a language with Left to Right direction as the main language

I write a document with mixed languages having different writing direction. The main language is in left to right direction. I want to write a tree diagram in another language having right to left ...
1
vote
2answers
42 views

vertical line and extension of node in tree

I'm trying to generate a tree that has a vertical line coming through exactly in the middle, right after the 0.5 on the top node, and the 2 on the bottome node, and I would like to write 1.25,1.25 ...
3
votes
3answers
343 views

Tree structure in latex

I have trying to get this tree structure in latex but I don't find any example. Can someone help me? []
3
votes
2answers
233 views

How can I add the line above this tree?

I want to add a line 1st toss, 2nd toss, 3nd toss and outcome like this picture I tried \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \...
4
votes
1answer
124 views

Revealing tree on beamer bottom-up using tikz

Unrevealing a tree (nodes+edges) has been already treated before e.g.: Beamer: problematic use of \visible and \only in combination with TikZ to draw a graph Successively reveal tree bottom up Step-...
1
vote
1answer
80 views

How to replicate a probability tree with tikz?

I want to replicate the following probability tree in tikz. My problem so far was that the nodes of different third level branches joined. Furthermore, how can I add the text to the branches, such ...
1
vote
1answer
167 views

Removing a node from tikz tree

Considering the following TeX document: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{trees} \tikzset{ invisible/.style={opacity=0}, visible on/.style={alt=#1{}{invisible}}, alt/....
1
vote
1answer
74 views

tikz curves with labeled nodes as start and end points

These days I'm typesetting a lot of trees (in the graph-theoretic sense) using pst-jtree, which is essentially a collection of macros over pstricks. So, I might have the following. \jtree \! = {A}!...
7
votes
1answer
419 views

Third Level Organizational Chart using Latex Tikz

I tried to follow TikZ-tree: edge-alignment in horizontal org-chart to make an org chart-like diagram like this I got stuck on making third-level down. Can you help in figuring this out? I am not ...
2
votes
1answer
160 views

Line break in qtree edge labels

I am using tikz-qtree to create a (horizontal) game tree. While I have managed to create line breaks in the node labels, this does not seem to work for the edge labels, see MWE below. My questions ...
3
votes
1answer
112 views

positioning a tree

I have drawn a simple tree. But this code creates a left-aligned tree. How can I position the whole tree in the center? \documentclass[12pt]{article} \usepackage{gb4e} \usepackage{amsmath} \...
3
votes
1answer
73 views

Straightening the edges in tikz-qtree

I have a tree, which turns out to be a ternary tree. Here is the code \begin{tikzpicture} \tikzset{level distance=18pt,edge from parent/.style={draw, edge from parent path={(\tikzparentnode) -- (\...
3
votes
2answers
101 views

How to adjust the size of edges when we have large number of items in tikz-tree?

I am working on a hierarchy diagram which has large number of items on its leaves due to which my diagram goes out of page and eventually i am unable to see right half of tree following is the code I ...
2
votes
1answer
216 views

How to nicely place two heaps next to each other

I am quite new to latex and I have a question on how to place two heaps of this size nicely next to each other in latex. For example: \[\begin{tikzpicture}[every node/.style={circle,draw},level 1/....
1
vote
0answers
376 views

please how can i create this organization chart using latex? [closed]

please help me to create this organization chart using latex an tikz
1
vote
1answer
112 views

Compiling in latex-suite halted with lualatex error with pattern not found

So I'm getting this error after compiling a .tex file with an import \usetikzlibrary{graphdrawing.force} and compiling hitting ,ll in vim's latex-suite. Pattern not found: \Vn LuaTeX to use the ...
4
votes
3answers
458 views

Figure in Tikz (2 state Markov)

I would like to make the following figure in Tikz: I have tried using the code here, but I did not succeed unfortunately. Can anyone provide me some code to make such a picture? Thanks in advance....
7
votes
2answers
565 views

How do I format text inside a node?

I'm making an academic family tree and I'd like to put a couple of bullet points of info for each person. I'm just starting with LaTeX, so this is the simplest code possible: \documentclass[border=...
4
votes
1answer
58 views

Trees with tangent curved arrows

The arrow controlled by \draw[semithick, dashed, ->] (pe)..controls +(south west: 50) and +(south: 50) .. (re); dissects the tree. I want it to curve round the bottom-most node of the tree. I ...
4
votes
2answers
274 views

Colouring the branches of tikz trees

I want to colour the branches of the following tree: \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \tikzset{every tree node/.style={align=center,...
4
votes
1answer
159 views

Tikz vertical levels instead of horizontal

The following code : \documentclass[border=5pt]{standalone} \usepackage{tikz} \usetikzlibrary{external,arrows,shapes,positioning,shadows,trees} \tikzset{ basic/.style = {draw, drop shadow, ...
3
votes
2answers
279 views

Tikz tree diagram with 4 levels

This is the first time I use TikZ so please bear with me. With the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,shapes,positioning,shadows,trees} \tikzset{ ...
3
votes
1answer
109 views

How to perform correct manipulation of child?

MWE: \documentclass[onecolumn]{IEEEtran} \usepackage{tikz} \usetikzlibrary{mindmap} \pagestyle{empty} \begin{document} \begin{figure}[H] \centering \begin{tikzpicture}[mindmap, grow cyclic, every ...
3
votes
1answer
134 views

Tree diagram with boxes and arrows

Good day everyone here at TeX.SX. I have been troubled with the following task; I need to create some sort of tree diagram that resembles the accompanied image. I am providing a MWE. \documentclass[...
4
votes
1answer
176 views

Drawing a graph with labeled edges in foreach loop

How to add different label for each edge in example on the picture. How can I do this in foreach loop? \begin{tikzpicture} [scale=.8,auto=left,every node/.style={circle,fill=blue!20}] \node (n6) ...
5
votes
1answer
131 views

Is it possible to draw a tree using standard syntax without overlapping, if graphdrawing is loaded?

It seems that merely loading the graphdrawing library can mess up drawing a tree using the standard TikZ syntax. Is there a way to avoid this unwanted effect? For example: \documentclass[tikz,border=...
3
votes
1answer
197 views

TikZ: Drawing directed trees using tree layout, child{…}-syntax and lualatex

There seems to be no way to draw directed edges using the new (?) tree graph layout and the child-syntax. \documentclass{standalone} \usepackage{tikz} \usepackage{lmodern} \usetikzlibrary{arrows....
11
votes
1answer
157 views

Visual table of contents (tikz mindmap) - Problem in output

I would like to make visual table of contents, just like here. However, I have a part that does not have a section and I would like it to output, but it does not do so. I took my code from here as ...
4
votes
2answers
191 views

TiKz tree, i need to force move a node down

I'm making this tikz figure But i want to move the [ A C C T] box down on the same levvel as the other 3.. That is making the path line longer to the right and longer down. Please help. Code: \...
3
votes
1answer
183 views

Centering trees

How can I centre a tree, moving it to the middle of the page, whilst keeping \ex. in its normal position? \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-...
4
votes
1answer
125 views

Putting a tree next to another tree

How can I put example tree (a) and example tree (b) next to each other on the page? At the moment, tree (b) appears below tree (a): \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \...
8
votes
2answers
557 views

How can I draw these pictures with TikZ?

I have the following images: Binary Decision Diagram (BDD): Binary Decision Tree (BDT): and I would like to draw them in LaTeX with TikZ. Furthermore, I would like to make them "consistent" ...
2
votes
2answers
97 views

Fitting an enormous tree on a page

I cannot fit this enormous collection of trees onto a page without the page number being obscured. Can anyone help me? \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{...
1
vote
2answers
103 views

Trees: adjusting arrows and roofs

How can I ensure that the arrow from $t_2$ curves below "of"? How can I use \qroof{some company}.DP and yet still have the arrow pointing to it? \documentclass[12pt,a4paper]{article} \usepackage{...
8
votes
2answers
335 views

Extending a tree

I am trying to extend the following tree, so that it is as in the picture: \documentclass[12pt,a4paper]{article} \usepackage{tikz-qtree} \usepackage{tikz-qtree-compat} \usepackage{ulem}...
5
votes
1answer
295 views

drawing complex dependency diagrams with tikz / forest

I want to draw the following Word Grammar diagram with tikz/forest: I am a great fan of forestand would like to have a style for such graphs, but I think this is non-trivial/impossible for this type ...
1
vote
1answer
58 views

Entering a level

I am trying to create a level below Ruth & Anita to create one node called 'Chris', with the rest remaining the same as it is currently. \documentclass{exam} \usepackage{tikz-qtree} \...
8
votes
1answer
177 views

Targeting proper parts of nodes in `forest`

I am using forest to construct trees. I have one (minor but persistent) issue: sometimes I would like to place a node at a point that is a proper part of (e.g.) a leaf, in particular so that I can ...
6
votes
2answers
191 views

move the green box to the top of the right grey box

The following is the graph I modified from the forest style, but I encounter an problem when I try to move the green box to the top of the right grey box, I know the main problem is the tree style, ...
1
vote
0answers
33 views

Align the forest from left to right [duplicate]

Recently, I applied cfr's code to what I wanted (see below). But I want to arrange this diagram from left to right in order to put into my book, that is, put the topmost box at the left side of page ...
3
votes
2answers
249 views

Writing info into a tree

I want to draw this tree, but I want the data on the branches to be parallel to the branch, not like the result I am getting Thank you! \documentclass[12pt,oneside,a4paper,fleqn]{report} \...
2
votes
1answer
114 views

Properly spread tikz tree nodes

In the middle of drawing blooming tree, which is declared in generic way, something is going wrong. Please, help me to separate middle nodes and put boxes with borders on every node. \begin{...
2
votes
1answer
47 views

Position of a line between two nodes

I don't understand how to use the command (origin.220) -- (origin.220|-Destination.north) in my code and therefore I'm have to guess when I'm going to put a line between two nodes. How can I determine ...