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

learn more… | top users | synonyms

3
votes
1answer
35 views

flow chart page size issue

I have been doing this since from last month. I want to draw this flow chart using \documentclass[a4paper,11pt]{report} but if I use above configuration (which I want to use) the flow chart does ...
3
votes
1answer
62 views

Organisation chart in latex using tikz

I would like to do a organisation chart with pictures, name, mobile.nr and email in each node... I tried with the tikz tree bit failed. How can i add pictures in a node? Can someone help me? Please
5
votes
1answer
105 views

Still some of the flows missing in the flowchart

I have posted this question few days back but still I can't complete the algortihm. This is the uncompleted work done so far \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
1
vote
1answer
62 views

Fault tree using TikZ : draw subtree at multiple levels

On lines of the Fault Tree in the TiKZ example (http://www.texample.net/tikz/examples/fault-tree/), I made the following Fault tree \node (g1) [event] {Project fails \\ E0} child {node ...
6
votes
1answer
164 views

How to plot a graph from its adjacency matrix?

For example, I want to plot a graph whose adjacency matrix is [0,1,0;1,0,1;0,1,0]. I first plot three points labeled by p1,p2,p3, and link the points p1,p2, p2,p3. For a general case, how to link the ...
1
vote
0answers
76 views

Tree with some nodes and leafs in arbitrary places [closed]

I need to draw a quite abstract tree. This tree will visualize proof substituting in natural deduction (proof theory). I have a deduction (let's call it 'D1') of A with open assumption B and a ...
3
votes
1answer
133 views

Drawing arrows to nodes in trees

I try to draw rhe following three figures. The left is just a sequence of symbols NP V NP AP, the middle one is a unary branching tree and the right one is a binary brancing tree. I want to place a V ...
6
votes
2answers
417 views

How can I produce this tree diagram in LaTeX?

I want to create the tree diagram shown below in TeX code (with the Level 1... level 3 by the side of the tree diagram). Also, I would like to know how to just put bullet points under a box. For ...
8
votes
1answer
157 views

Why is this comment character required for correct rendering?

There is a comment between two child nodes down below, that if removed would cause tree to render completely wrong. Why? \documentclass[10pt]{article} \usepackage{tikz} \usetikzlibrary{trees} ...
9
votes
2answers
111 views

Using em unit instead of cm in text width shifts node label

When em unit is used in text width style directive, resulting label shifts ever so slightly to the left from its center position directed by preceeding text centered. When using cm unit, label is ...
5
votes
2answers
83 views

How to draw an arc between edges connecting child nodes?

I have the following code to generate a couple of trees. How do I draw arcs between the edges (marked in red in the figure)? \usetikzlibrary{intersections} \begin{tikzpicture} \node {Goto(P$_A$)} ...
6
votes
1answer
121 views

Hyperlinks from a TikZ tree

I am trying to combine this answer on how to create hyperlinks with a tree hierarchy taken from the filesystem tree example. While the basic hyperlinking works, I get an error message as soon as I ...
3
votes
0answers
36 views

How to draw a tree with fixed node distances? [duplicate]

I am trying to build on the filesystem tree example. I have a similar requirement to display a hierarchical tree, but I'm struggling to get the tree layout right. In the example, the link between a ...
5
votes
2answers
124 views

Blank page before TikZ family tree picture

I drew a family tree using TikZ with the positioning library, following in the footsteps of Gonzalo. The problem is that there is a blank page generated before the family tree. Can anyone explain why ...
0
votes
0answers
27 views

What is the problem with this tikz-tree [duplicate]

This is just an example code of tikz-qtree. It fails to typeset. I am not getting what syntax error I am introducing even after looking carefully. Kindly help \documentclass{article} ...
1
vote
1answer
80 views

problem with tikz-qtree

When I type set this example, I get I, love, my , country as four different nodes. I know I am not able to get a syntax for enclosing MULTIPLE words together for tikz-qtree. I tried to look ...
2
votes
1answer
102 views

Distance between tree levels in Tikz, edges and node centering

Level distance does not seem to have any effect on the 1st node's distance from its children in the MWE below (tried adding level distance and playing with its values at every level, but it works only ...
3
votes
2answers
97 views

How to define edges in tikz

When I use absolute position for the edges, I get almost intersecting arrows. Here is my code. Kindly help. \begin{tikzpicture} [ node distance = 2cm and 0.8cm, >=stealth, ...
4
votes
1answer
185 views

Draw curved arrows between nodes in tikz-qtree

Is there a "clever" way to draw curved lines between nodes without them to go all through the picture? Here is my MWE : \documentclass[11pt]{beamer} \usepackage{ulem} \usepackage{tikz-qtree} ...
1
vote
2answers
106 views

how can I improve the look and impact of thi tikz tree diagram

\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes,arrows} % styles for flowcharts \tikzstyle{block} = [rectangle, draw, text width=5em, text centered, rounded corners, minimum ...
1
vote
0answers
52 views

How to Create an un-ordered tree in LaTeX?

Is there a way to create a tree in LaTeX without using any "ordering" ? So far, all the examples I came across are structured in this way child{ node [arn_n] {20} child{ ...
2
votes
1answer
78 views

PGF automatic determined vertical distance between tree nodes / level

I am trying to draw a tree overview and got an example from http://www.texample.net. But I have a problem with the vertical distance between the nodes (levels). Is there a way how tikz can ...
8
votes
2answers
496 views

How to draw empty nodes in tikz-qtree?

I'm new to tikz-qtree, and I would like to reproduce this figure in LaTeX: So far, I've managed to cobble this bit of code, but the results are a bit comical, as the empty nodes (those without ...
2
votes
1answer
90 views

How to improve the spacing of branches in a tree?

I am trying to build a tree but the length of branches is of uneven size. Moreover, I might need to change the labels to strings of shorter/larger length. Do you have some suggestions to improve this ...
3
votes
2answers
52 views

TikZ tree (not aligned text at a given level of the tree because use exponent)

I have a tree (see example) for which the text at level 1 is not aligned since one of the text uses some math expression with an exponent (i.e., $\mathtt{int}^2$). Any idea how to get all the texts ...
3
votes
1answer
143 views

How to draw AVL rectangle represention in TikZ?

I am trying to represent AVL's in an old way that I was taught and found more intuitive to display in comparison to most common books nowadays. The raw images with the features I am interested in are ...
3
votes
1answer
93 views

Forest: different growing directions for branches on the same level

Problem In TikZ, one can control the growing direction of a branch (and its sub-branches) by using the grow=<direction> key. In forest, however, the grow key only controls the growing direction ...
7
votes
2answers
209 views

Special tree in tikz

I'm trying to draw a tree like this: The root has three children and every of this two... The nodes in the first two tiers has additional informations.. I searched for examples like that, but could ...
7
votes
2answers
312 views

Is this possible in Tikz?

I am wondering if it is possible to quickly create something like this in Tikz. In particular, I am concerned with making the zig-zag line, which has these properties: Each star is on a clearly ...
5
votes
1answer
150 views

tikz parameterized circle node with t-lines inside within a tree diagram

I would like to draw a tree diagram consisting of circle nodes with three subparts divided by a t-line (see sample below). Instead of separating every tree node by hand I would like to only specify ...
7
votes
1answer
215 views

Clear and readable syntax style for tikz trees with edge labels and options

I'm fairly new to tikz and TeX but I don't have a problem writing the code for the tree. I just would like to have a human readable tree. Here's a minimal expample of the tree without edge labels or ...
5
votes
1answer
160 views

How to connect two parents to the same child, with parents not in the same tree?

I'm trying to draw a specific tree, with two parents node linked to the same child. The problem is that one of the parent is outside the main tree. Here's the code I have for the moment: ...
4
votes
0answers
161 views

How to draw this 3D H-layout recursive tree with Tikz? [on hold]

Background: This is an extension problem from my last post How to draw the recursive H-Layout tree using Tikz?. The (2D) H-layout tree is actually from the VLSI layout problem in computer science. I ...
11
votes
2answers
280 views

How to draw the recursive H-Layout tree using Tikz?

The following image shows a recursive H-Layout tree. It is called H-Layout because of its H unit consisting of 7 nodes. My problem is: How to draw such tree in a recursive manner instead of ...
6
votes
1answer
246 views

How do I create a Tikz mindmap that has two connected roots?

I am creating a mindmap that has multiple root concepts instead of just one. How can I create such a mindmap using Tikz? These are the mindmaps: \begin{tikzpicture}[small mindmap,concept ...
3
votes
3answers
282 views

Overlap in graphing TikZ picture

I'm drawing trees in graph theory. Some of the nodes are overlapped. Can anyone help? % Red-black tree % Author: Madit \documentclass{article} \usepackage{tikz} ...
5
votes
2answers
312 views

More efficient way to draw movement arrow to roof in tikz-qtree

When drawing syntactic representations in linguistics, one often uses a triangle to represent a unit whose internal structure is irrelevant. This can be accomplished with the tikz-qtree command ...
3
votes
2answers
685 views

tikz tree fork down edge labels

\documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[level distance=1.5cm, level 1/.style={sibling distance=3.5cm}, level 2/.style={sibling ...
4
votes
2answers
230 views

Creating a punktchain or flow diagram in tikz/pgf latex that is two column then merges to one and back to two

I have update the example code with some of the comments to get really close to what I want. Now I just want two lines coming out of filter 1 and filter 2 inline and with the same line style as ...
5
votes
2answers
167 views

How to converge various nodes with rectangular shapes and arrow in TikZ?

I'm very new to TikZ. I would like to join some nodes as shown in the attached image I've got some idea from this thread tree rectangular. However, I could not manage to implement this properly ...
2
votes
1answer
204 views

Draw a vertical flow chart [closed]

I would like to draw a Diagram like the one in the attached picture.
5
votes
2answers
153 views

Drawing a LISP expression as a tree

Somewhat inspired by How to automatically draw tree diagram of prime factorization with LaTeX? and mostly motivated by laziness, I'd like to be able to draw a tree defined by LISP syntax for a class ...
4
votes
1answer
135 views

Drawing tree in text (like inline math)

Is there a way to draw (with tikz/tikz-qtree) a tree directly in the text, like the inline math command? For a small tree with 2 or 3 nodes? Thanks!
6
votes
1answer
132 views

Label on a tree edge to a node that has children

I have a problem when trying to label an edge that goes to a node that itself has children. Here is what I would like to do: \begin{tikzpicture} \node {A} child { node {B} edge from parent ...
1
vote
0answers
39 views

How come it always says \tikzlibrary{calc} is missing? [duplicate]

Whenever I put 2 trees onto a document, the system always tells me I am missing \tikzlibrary{calc} on the second tree (I have the same line for both trees) on this line \draw[dashed,rounded ...
4
votes
1answer
166 views

How to draw search space tree in a dynamic manner

I am visualising the search space for a set of binary variables. I have done it for three variables before; and now I am extending it to six but seems a tedious work to do. Thus, I am wondering if ...
2
votes
0answers
113 views

Tikzpicture: Data from File

I want to create a number of trees from a series of input files. What syntax would the file need to be in to create the following tree? This is what I need done, but from a file and with loops ...
3
votes
1answer
286 views

Inserting floating text near decision tree arrows

How do I insert Yes and No beside the solid arrows? I tried putting node [near end, right] {Yes} after each node and child declaration but this just messes up the flow of the decision tree. Code ...
1
vote
1answer
238 views

Depth-first traversal of a binary tree

How can I achieve the drawing of a depth-first traversal of a binary tree like in this picture ?
2
votes
0answers
81 views

TikZ-PGF child nodes in different locations

When I use TiKz to draw two trees, each in a nested picture, the position of the middle child of the second tree is different from the first. This is even though the code for the trees is basically ...