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

learn more… | top users | synonyms

2
votes
0answers
116 views

Draw Tree using tikz [duplicate]

Possible Duplicate: Drawing a tree where many nodes have the same child in TikZ I'm trying the draw a tree using the TikZ package, \begin{center} \begin{tikzpicture} ...
2
votes
0answers
260 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 ...
1
vote
1answer
633 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.
1
vote
1answer
239 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 ?
1
vote
1answer
830 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 ...
1
vote
1answer
107 views

How to write a tree with no (visible) root with TikZ?

I’m trying to write a tree structure in TikZ. The trees in question are labelled on the leaf only; there is no label on inner nodes. Because I don’t use node on inner nodes, the tree structure joins. ...
1
vote
2answers
530 views

Adding vertical arrow to Tree Node using TikZ/PGF

I'm trying to illustrate a process of an algorithm over a Binary Search Tree, for which I need to make various figures where each time, different nodes are highlighted. I wish to highlight these ...
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
1answer
306 views

Arrows in TikZ tree

I've been trying to create a tree consisting out of parents and nodes connected with arrows. I have created almost what I had in mind, except from that the arrows point the wrong direction. could ...
1
vote
2answers
263 views

construction set of tree

I have three trees in latex , I have this construction : with his code : \documentclass[openright,a4paper,11pt,french]{report} \usepackage{tikz} \begin{document} \begin{tikzpicture}[shorten ...
1
vote
1answer
719 views

Problems with tikz tree growth on secondary levels in trees

I have the following code: \begin{tikzpicture}[grow=right, sloped] \tikzstyle{level 1}=[level distance=1.3cm, sibling distance=1cm] \tikzstyle{level 2}=[level distance=1.2cm, sibling distance=1cm] ...
1
vote
1answer
63 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 ...
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 ...
1
vote
1answer
129 views

Vertex with two labes (label in, weight out)

I use the tikzpicture environment to make graphs. I would like to make a vetex in the graph with comondo \Vertex with an internal value to the vertex (label's vertex) and another value outside ...
1
vote
1answer
117 views

how to add word in the line?

I want to add the word in the line using the bellow code, now the picture is : I want to add the word "p1" in the line between "a" and "b" which looks like: I try to modify the code to \path ...
1
vote
1answer
532 views

can't get multiple lines with tikz-qtree package

I am using the following code to draw a fairly simple tree. The problem is that the line break commands are being ignored although I have found a number of examples on the net that show that they ...
1
vote
0answers
77 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 ...
1
vote
0answers
54 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{ ...
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 ...
1
vote
0answers
438 views

Generate trees based on number of nodes and children allowed [closed]

I am doing an experiment, and would like to generate images of Binary Trees and Exponential Trees using LaTeX. The difference between these two structures is the number of children allowed per node ...
0
votes
1answer
1k views

how to put two pictures side by side?

I try to put the two pictures side by side using the following code, however, the size of the two pictures are very small like the picture. However, the picture looks like if I don't put them ...
0
votes
1answer
329 views

how to draw angle line? [duplicate]

Possible Duplicate: how to draw special line in a picture I use the code below to draw a picture, however the line is straight from s2 to s4 refer to the image. However, I want the line ...
0
votes
1answer
664 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} ...
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} ...
0
votes
0answers
40 views

How to draw \leadsto line? [duplicate]

I wish to replace straight line with the \leadsto line. I tried \draw[leadsto] (s2)--(s3); however it can not work. Below is my code \documentclass[tikz]{standalone} \usepackage{tikz} ...
0
votes
0answers
375 views

LaTeX Hierarchy Chart [closed]

I'm trying to create a chart in LaTeX. I found a couple of packages that do similar things but none that really provides what I want. Since my chart is really not that complex I hope someone out here ...
0
votes
1answer
89 views

newtxmath and tikz in collision [closed]

When I try to draw a Feynman diagram with superscripts, if I use newtxmath, the superscripts on the particles (like \mu^{-}) won't show. Here's the mwe: %&latex ...
0
votes
1answer
95 views

the problem about putting one picture on the left and another on the right

I wish to put two graph together, one is on the left side, the other is one the right side. I use "minipage". However, using the below code, the first graph is on the top of the second graph. May ...
0
votes
0answers
238 views

Example template for a hierarchy diagram [duplicate]

I wanted to draw a tree diagram so that i can put citations beside the node texts. Is there an example in code?
0
votes
0answers
64 views

Strange line width problem with tikz-qtree [duplicate]

Possible Duplicate: TikZ borders showing through when they shouldn’t (overlapping circles) I have a strange problem with using tikz-qtree where the thickness of the lines are a bit odd. ...
-1
votes
0answers
70 views

how to separate 3 tree latex [duplicate]

Possible Duplicate: Two diagrams side by side construction set of tree I have three trees in latex, I want to represent 2 like this and the third before both ? ...