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

learn more… | top users | synonyms

2
votes
2answers
67 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} ...
1
vote
2answers
36 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} ...
5
votes
2answers
123 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} ...
5
votes
1answer
110 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
50 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} ...
7
votes
1answer
84 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
156 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
31 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
173 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
33 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. ...
2
votes
1answer
37 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 ...
2
votes
5answers
134 views

How to make the simple three square box and connect them?

I want to make the three square box and simply connect them.
2
votes
1answer
39 views

Caption and label tikz-qtree inside figure

I want to create a figure caption for my tikz-qtree. Unfortunately it does not compile. \documentclass[fontsize=12pt,a4paper,oneside ]{scrreprt} \usepackage{pgfplots} ...
2
votes
2answers
98 views

Draw circle near to box in tikz qtree

I'm trying to draw above a node: a circle Some text But I dont know how to do it. This is my provisional code \begin{figure} \captionof{figure}{Estructura del análisis de árbol lógico } ...
6
votes
2answers
176 views

Decision Tree with Labels on Both Sides of Line

I am trying to generate a decision tree similar to this scanned example: Notice that some branches have text on the top as well as the bottom. I have not figured out how to do this. I can get text ...
2
votes
2answers
84 views

A scenario tree in latex

I know it's a bit tedious, but could someone please write me the latex code for below tree? Here's how I started \documentclass{article} \usepackage{amsmath} \usepackage{forest} \tikzset{ ...
2
votes
1answer
62 views

Adding trees or terminal words to multi-dominance structures

I'm trying to add either a word or a tree to the DP node that is connected to the main tree by the wavy lines, in the same way that the V node has the expression "smokes" below it. How can I do this? ...
0
votes
1answer
76 views

Drawing directed random walk on integer lattice

Could you please help me to draw random walks in random environment. How can I draw directed random walk on lattices such as or with different colors . I think method is almost same. but I don't ...
4
votes
1answer
67 views

How to typeset a MinMax algorithm tree?

I want to typeset MinMax decision trees in LaTeX, just like the one in following picture: I have played around a little and achieved part of my goals: \documentclass{article} ...
3
votes
3answers
120 views

How to convert my word organisation chart to latex

I am trying to convert my word document to latex document. I have an organization chart similar to the following picture: I tried the following code in latex but the result is not similar to word ...
0
votes
2answers
38 views

Dashed edges from parent to normal edge in child in trees

I am creating a tree in which the edges from a child to its children are dashed. I got this using child[dashed]. Now all the edges of these children are dashed. I want to override this. So unable to ...
5
votes
2answers
115 views

Resolution trees in latex

I would like to draw a resolution tree such as this. I have already seen this post and I could make trees like the example shown in that. However, I do not know how to point to a child node from ...
1
vote
0answers
48 views

Automatically Diagram Pointer Structure with TikZ

Suppose one has a program with many data objects that have pointers to other objects. How could one use TikZ to automatically draw a diagram of the pointer structure? I'm thinking of outputting the ...
2
votes
2answers
255 views

Adding text above a node in Tikzpicture tree diagram

I'm trying to add text above the lines coming from a chance node in a Tikzpicture decision tree. It seems easy to add text at the end of a line, or above the parent node's lines, but I can't figure ...
3
votes
2answers
106 views

How to set distance between individual siblings in a tikz-qtree tree?

I have made this tree for my research project. I've just renamed all attributes for this question. You can see in the picture below that siblings on the top are very congested and the picture overall ...
12
votes
3answers
288 views

Accuracy of calculations in TikZ with fixed point arithmetic

I want to build a tree which satisfies the following: It grows to the right. The first child grows at 0 degrees (subsequent children growing clockwise). All children nodes are in the same ...
11
votes
2answers
108 views

Two lines in a single node in Forest

I have recently switched from the tikz_qtree package to forest. Now I'm trying to change my trees to fit the forest coding. However, I can't find the way to let a single node contain two lines. I do ...
3
votes
1answer
100 views

Edit position of nodes in tikz mindmap

I'm trying to make a mindmap with tikz but I want to add some fading (smooth transition between clear blue and dark blue) between the colour of the root node and his childrens. ...
2
votes
0answers
214 views

TikZ new graphing library - how to use?

Ubuntu 14.04 tex version : TeX 3.1415926 (TeX Live 2013/Debian) After seeing this post I really wanted to play with the example and library, however I can't seem to get it working on my system. ...
3
votes
1answer
90 views

Vertical alignment of tikz matrix and tree

I want to display a table as a tikz matrix next to a tikz tree in the same figure environment. Using the baseline option in every tikzpicture worked to align both pictures on the top for the case with ...
4
votes
1answer
29 views

How can I set a style in `\forestset` which requires delayed calculations with the results of node walks?

What is the correct way to wrap the specification for the tree below into the my binomial style defined in \forestset and why? The following code works fine: ...
4
votes
2answers
70 views

Tree diagram got cut off

After compiling the code for a tree diagram, some parts of the right hand side of the tree got cut off. I've already used \centering function but this does not fix the problem.I'm not sure how to ...
6
votes
4answers
196 views

How to use Tikz and macros to very efficiently draw recombining binomial trees when taking notes during class

For a class in derivatives pricing I would like to find a way to quickly and efficiently draw recombining binomial trees. The class involved quite a few of those trees and it would be immensely ...
5
votes
2answers
228 views

How to colour branch/edge on a tree using tikz?

I have created a tree diagram using tikz on Latex. However I'm not sure how to go about highlighting/adding colour to a branch. For instance, looking at the tree that I've illustrated, I want to ...
7
votes
2answers
319 views

Latex Tree Diagram: Inserting Arrows

I’m having an issue formatting my LaTeX Tree Diagram. It’s in the correct order but I don’t know how to have an arrow at the end of each path to show the direction flow (test – Start) (Start – Do) (Do ...
6
votes
2answers
223 views

Tikz Forest label positioning

I'm constructing a tree diagram using the forest package, and I want to label the edges. Usually, Tikz is quite good at avoiding a collision between the label and the edge, but if the branches of my ...
1
vote
3answers
261 views

How to draw family tree like in website http://phdtree.org/scholar/ng-andrew-y/ by TikZ?

Could anybody help me draw the family tree like in website http://phdtree.org/scholar/ng-andrew-y/ by TikZ? Anyother (latex)tools are also encouraged.
5
votes
2answers
101 views

Obtain a TikZ tree from a Lua table/string

Let's consider I have a database where with appropriate passages I obtain the a string that describes a layered tree. Consider the following listing: % !TEX encoding = UTF-8 % !TEX program = ...
3
votes
1answer
50 views

how can make a big tree automatically display in the second page?

I want the first part of the tree is in the first page, the other part in in the second page or even in the third part. I want it can be done automatically. Here is the code (use Pdflatex), you can ...
0
votes
1answer
42 views

forrest hierarchical diagram that will fit in landscape mode for 8.5“ by 11” document

Is there a way to use the pictured hierarchical diagram and load it into latex so that it fits into landscape on a 8.5" by 11" document that won't affect header and footer/page number? somewhat new to ...
2
votes
2answers
149 views

How to draw a full n-ary tree in a “landscape setting” using TikZ?

How would I go about drawing something that looks like this (please excuse the extremely lousy Paint image) with branches continuing to the right. I am sorry I cannot provide any exact code, but I ...
4
votes
0answers
96 views

How can I get arrows to attach to outside of rectangle split in a graphdrawing layout?

I'm trying to make use of the newer (pgf > 3.0) graphdrawing layouts to do class diagrams, but I can't seem to figure out how to get arrows to attach to the outline of a rectangle split. I've read ...
1
vote
3answers
114 views

drawing a horizonatl tree (graph) with variable break points

Part of what I work on involves sequential product multinomials, and analysis of same. In papers, or lectures, it is often useful to describe the underlying probability structure uing what we call a ...
6
votes
1answer
126 views

How to put level 2 concept mindmap nodes alongside a rectangle

What I have done: I have looked in to the pgf manual. I have searched on this site for mindmap and did not find a solution. I have a mindmap with many nodes at level 2 and eight nodes at level 1. ...
0
votes
0answers
41 views

Can't find tikz libraryarrows.meta.code.tex

I have update all the pgf and TikZ packages as admin (Windows7), but receiving the same error while compiling the following code. \documentclass[tikz,border=10pt]{standalone} \usepackage{forest} ...
27
votes
3answers
641 views

Visual table of contents using tikz mindmap or similar

For a book, I'd like to have a visual table of contents, showing parts, chapters (and maybe sections) visually as a radial tree diagram or mindmap. Ideally, it would be lovely to have some tool to ...
7
votes
3answers
298 views

drawing an orthonormal frame with semi circles

Hi, I have a problem in drawing this frame, and with colors, especially using tikz programs or the hobby the program don't compile with hobby. Can anyone help me in drawing this pic? thank you. i ...
2
votes
1answer
114 views

Text alignment and form of connectors (edges) in tikz tree

I'm completely new to tikz and try to draw a tree structure. I have tried different options, but could not modify it as I wanted it to look like. It currently looks like that: Tikz code ...
1
vote
1answer
104 views

Draw multiple inheritance hierarchies

I have to draw multiple inheritance type hierarchies. The worst case is something like the following: I used tables and tree-dvipsto draw these figures, but I am now looking for something that is ...
3
votes
1answer
88 views

How to use bracket symbol in node name in forest?

\documentclass{article} \usepackage{forest} \begin{document} \begin{forest} [Z [$K[2]$] ] \end{forest} \end{document} How can I use brackets in a node name? Not necessarily inside math. The above ...