{tikz-trees} is for questions addressing issues related to trees in {tikz-pgf}.
8
votes
1answer
277 views
Edged arrows with tikz-qtree
I've seen this nice little example tree drawn with LaTeX, afaik not tikz. Can I draw similar arrows with tikz-qtree by specifying start and end point only?
2
votes
0answers
135 views
How to convert Newick tree format to TikZ?
I need to draw a number of large phylogenetic tree diagrams in a document and it appears that tikz-qtree may be the best package for this task. A manual approach does not seem the best solution to ...
4
votes
1answer
134 views
tikz-qtree mangles edge anchors in trees [duplicate]
Possible Duplicate:
tikz-qtree spoils tikz trees
When I draw a tree using TikZ, for example
\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikzset{every ...
10
votes
1answer
227 views
Tikz tree and position of single leaf in binary tree
I am constructing a binary tree which looks as follows:
\begin{tikzpicture}
\node {root}
child { node {left} }
child { node {right}
child { node {rightmost} }
...
1
vote
2answers
294 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 ...
8
votes
1answer
286 views
Same node distance between levels in a tikz tree?
I want to draw a tree using tikz, but I want the vertical distance between nodes in successive levels to be the same, regardless of the size of the node.
For example:
\documentclass{article}
...
11
votes
2answers
590 views
Genogram or family tree with PGF/TikZ
Since it has been recommended to me in Stack Overflow to post it here, I will do so:
I want to draw a genogram with LaTeX.
I tried to do this with TikZ, but since you need to model at least 3 ...
7
votes
1answer
194 views
Dashing one edge from parent in a tree: why does it work
This is related to the question How to make a connection in a tree with a dashed line?. Therein, it is asked how one can make one connection between a parent node and a child dashed.
The final ...
4
votes
1answer
2k views
Work breakdown structure (WBS) TikZ
How can I draw WBS diagrams (Work breakdown structures) in LaTeX?
I need to draw in LaTeX things like:
I've searched on the Internet a lot but I've found nothing.
4
votes
1answer
274 views
Horizontal chart-style arrows between nodes
I have five nodes defined and positioned as following:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, fit, calc, shapes, arrows}
\renewcommand{\figurename}{Figure}
...
2
votes
0answers
98 views
Blank tikz preview [closed]
I am having a problem with using tikz; I get a blank preview instead of the tree expected. I'm using:
Scientific Linux: v6.3 Kernel : 2.6.32-279.el6.x86_64
Texlive : TeX ...
5
votes
1answer
214 views
Adding arrow to one tree node and presenting tree in a step-wise fashion
I have the following MWE
%http://www.texample.net/tikz/examples/probability-tree/
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{trees,arrows}
...
13
votes
1answer
496 views
Drawing shapes around Tikz Tree nodes
I have a Tikz tree in my Latex document as follows:
% Set the overall layout of the tree
\tikzstyle{level 1}=[level distance=4.5cm, sibling distance=6.5cm]
\tikzstyle{level 2}=[level distance=4cm, ...
7
votes
1answer
134 views
0
votes
0answers
62 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. ...
3
votes
1answer
316 views
Dimension too large with tikz-qtree
I want to draw a tree with tikz-qtree, but it bails with Dimension
too large.
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{pdflscape}
\usepackage{tikz}
...
5
votes
1answer
252 views
Using TikZ to create a tree with root node at the bottom
Is it possible to draw a tree with the root node at the bottom? The image below demonstrates what I'd like, but is upside down.
I've looked into similar questions, most notably
How do I draw a B+ ...
3
votes
1answer
307 views
Decision Tree with Tikz - Not to fill and grow down instead of growing west
I am trying to build this decision tree I was take out fill option at
\tikzstyle{choice} = [circle, minimum width=8pt, fill, inner sep=0pt]
and also make the tree grow down
\tikzstyle{level ...
4
votes
1answer
175 views
Using boxes with two rows in a TikZ tree
I am trying to alter the code I made for a family tree using TikZ, by inserting birthdays in a row below a name. Here is the initial code, without the birthday rows, which has a nice output (if ...
7
votes
1answer
327 views
Tikz arrowhead size in tree using decorations?
Tikz is weird when in comes to decorating tree edges.
I'd like to draw a tree with a snakey line with an arrow in the middle.
What sounds simple is somewhat tricky but I found a solution with a ...
4
votes
2answers
373 views
complex nodes with tikz-qtree
I am trying to convert my tree-dvips trees into something that is compatible with xelatex. I had a look at the tikz-qtree package, but it seems to be impossible to set complex nodes.
In the old qtree ...
11
votes
2answers
441 views
Highlight a group of nodes in a tikz tree
To make it simple, I want to highlight a group of tikz nodes like in the following picture
It was borrowed from the JLatexEditor. I would like to know which Tikz commands I can use to do the job in ...
3
votes
3answers
424 views
Highlighting some nodes of a TikZ binomial tree
In this binomial tree I have 4 columns of nodes.
I want the entire last column to be highlighted with light blue, and perhaps a border around this highlighting. Something like a opaque blue-ish ...
3
votes
1answer
243 views
How to connect two childs? [duplicate]
Possible Duplicate:
How two connect any arbitrary nodes of tree in tikz
Hello everyone I'm new to latex. And just started using the tikz package to draw. I have here a code below, which is ...
4
votes
1answer
223 views
Using TikZ, how can I bend the edge between two nodes in a tree?
I tried setting edge from parent/.style={draw, bend left=60}, but the line remains straight. What am I doing wrong?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
...
3
votes
1answer
126 views
how to draw special line in a picture
Here is my current code for the picture:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\resizebox{.5\textwidth}{!}{
\tikzset{level 1/.style={level ...
5
votes
1answer
178 views
Measuring TikZ leaves and using measurements to set sibling distance?
TL;DR Summary:
Is there some way to measure the width of a leaf node and pass this measurement back up the tree to be used in setting sibling distance? (One might want to do a similar thing for ...
0
votes
1answer
208 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 ...
2
votes
1answer
158 views
how to make the line between two tuples longer?
I drawed a picture like a process flow, However, I found the line between two tuples is too short as seen in the following image.
How to make the line longer? Here is the code:
...
8
votes
1answer
548 views
Mindmap/trees in TikZ
I can't get the following tikz examples to work (PGF manual 2.10, page 255). Most likely I can find a solution here that will save me time.
Error:
! Missing \endcsname inserted.
<to be read ...
11
votes
1answer
183 views
How to expand a macro used in the range of a foreach loop?
Motivating Example:
Suppose that I want to draw the following tree:
root
/ \
/ \ / \
A B C D
This is easy enough to do by explicitly drawing the two subtrees
as children of ...
5
votes
1answer
127 views
how to draw part of the picture to be line and the other part to be the “\leadsto” symbol
Please refer to the answer of how to draw arrow that looks like the symbol "\leadsto" in latex? in the picture all lines are changed to the \leadsto:
Now i want to keep the connector ...
1
vote
1answer
95 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 ...
0
votes
1answer
684 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 ...
2
votes
1answer
130 views
how to decrease the size of the circle?
I want to draw a binary tree like this:
I have come up with the code below, but the size of the circle is too large. I tried to decrease the size, however, failed, can someone tell me how?
...
3
votes
1answer
191 views
how to draw arrow that looks like the symbol “\leadsto” in latex?
please refer to the answer of how to draw a process flow figure?
Now I what to change all arrows look like \leadsto in latex, you are refer to the picture
I can not find it in the manual, ...
2
votes
1answer
470 views
How to make a connection in a tree with a dashed line?
please refer to the answer of how to draw a process flow figure?
Now I want to change the line of "and->path1" to the dashed line, i added [style=dashed], unfortunately it doesn't change, why?
...
4
votes
1answer
354 views
how to draw a process flow figure?
I want to draw the process like in the picture using the code below, however, there is some problem, would someone help me?
\usepackage[latin1]{inputenc}
\usetikzlibrary{trees}
...
6
votes
1answer
387 views
tikz-qtree spoils tikz trees
When I enable the tikz-qtree package, the tree I am drawing with the tikz trees library looks different. Specifically the edges are no longer pointing to proper places on the nodes. In the example ...
7
votes
2answers
681 views
Tree-like diagram (flow chart?) showing selection of scientific papers when reviewing
I know the title I came up with is not self-explanatory, but I will show straight on some real life examples:
Part 1, Question 1:
Which package(s) is(are) closely suited for such diagrams? I ...
1
vote
1answer
265 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 ...
3
votes
1answer
293 views
Big table in beamer
I have a big table that does not fit in the slides with Beamer, i write this :
\documentclass[10pt]{beamer}
\usetheme{CambridgeUS} % theme
\usepackage{tikz}
\begin{document}
\begin{frame}
...
14
votes
1answer
435 views
How to typeset a prefix tree (aka trie)
I am currently trying to typeset a prefix tree (also called a trie). I can make a tree just fine with TiKZ, but I find myself unable to make the prefix tree nodes draw acceptably. I have attached a ...
5
votes
1answer
390 views
Incomplete arrows and missing arrow heads in TikZ
I have the following plot which looks good, but there are two issues:
Not all arrows have arrow-heads. I have no idea why this is.
Some edges are not long enough. For example, the left edge of the ...
1
vote
2answers
214 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 ...
15
votes
5answers
2k views
drawing tree using tikz, child overlap
I am trying to draw a tree but unfortunately i have some childs overlap each other,I increased the sibling distance , even i have used the option scale but i have the same problem. here is my code :
...
-1
votes
0answers
69 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 ?
...
8
votes
3answers
240 views
Problem using macros to define tree substructures
Relatively simple problem: I want to use macros to define substructures of a tree. In the following example for illustration, I want to define some children (left and right) to be used several times ...
2
votes
0answers
95 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} ...
9
votes
1answer
467 views
draw an ellipse into a Tree picture -tikz package
I have draw a tree using tikz package like this
\begin{tikzpicture}
\tikzstyle{level 1}=[sibling distance=40mm]
\tikzstyle{level 2}=[sibling distance=20mm]
\tikzstyle{level 3}=[sibling ...