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

learn more… | top users | synonyms

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 ...
8
votes
2answers
710 views

How put tick and cross mark around a node in tikz?

I want to draw something like this: This is my tikz code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{trees} \tikzstyle{bag} = [text width=8em, text ...
0
votes
1answer
94 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 ...
4
votes
1answer
288 views

how to add dotted line and arc line?

I wish to add dotted line connecting two nodes and an arc line as described in the photo. Here is my code: \documentclass[tikz]{standalone} \usetikzlibrary{ shapes.geometric, positioning, ...
3
votes
1answer
66 views

How to adust the location of the inner component in the Outer component constructed by “fit”?

I use "fit" to make two small rectangles inside a bigger rectangle. And then add some words at the top of the bigger one, which causes a large blank space at the bottom of the bigger rectangle as ...
5
votes
2answers
283 views

how to draw the complex work flow using tikz 2.0

I wish to draw a complex work flow using tikz 2.0 because I tried to update the tikz to 2.1, there are many problems. The work work flow is described as follows: I have tried to draw it by locating ...
3
votes
1answer
279 views

How to check tikz version using \listfiles Command

I tried to the following code to get the version information about TikZ using \listfiles command. However, there is an error says File amsmath.sty not Found, may someone help me? ...
1
vote
1answer
305 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 ...
6
votes
1answer
519 views

How to draw the structure with rectangles inside

I wish to draw the flow like in the picture using the code below, however, I found it is very hard to locate the rectangles by using Coordinate. Is there any better way to do this? Here is the code ...
4
votes
2answers
141 views

How to split a node content/right align in tikz tree?

This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{trees} \tikzstyle{bag} = [text width=8em, text centered] \begin{document} ...
3
votes
1answer
244 views

How specify tree levels nodes sizes?

I am working on a TikZ tree following the tutorial called A Lecture Map for Johannes from the TikZ manual. I am having trouble to get nodes from deeper level smaller than ones of previous level. I am ...
4
votes
1answer
581 views

Drawing a tree with text on the edge concisely using TikZ

I am new to TikZ and am trying to draw a tree with text only on the edge (action/line). I have managed to do it as seen below but I was hoping there was a more concise/legible way. ...
12
votes
1answer
408 views

draw a many edge from a node- Tree - tikz

i want to draw the tree in the following picture : i have write : \documentclass{article} \usepackage{tikz} \usepackage{color} \definecolor{red}{rgb}{1,0,0} \begin{document} ...
7
votes
2answers
620 views

Tree in tikz, with triangles standing for sub-trees

I need to draw a tree in tikz similar to this one: What I CAN'T DO is drawing the dashed triangle leaves (standing for unspecified subtrees). I think I can manage to draw the legend by myself, and ...
10
votes
2answers
514 views

Hyperlinked nodes in TikZ mindmap

I am trying to make a small mindmap such that some of the child nodes are hyperlinked. I tried to follow the advice given here, about the new node style hyperlink node, but the following MWE compiles ...
16
votes
1answer
338 views

nodes structure like file system

I would like to draw a picture that reflects some file structure. Below code works almost as expected. I need to adjust the connections between nodes so they don't start from the center of the bottom ...
8
votes
1answer
502 views

Changing the indentation of a Tikz tree

I've drawn a directory listing style tree using code similar to that found in Drawing a directory listing a la the tree command in TikZ. I'll repeat it here for clarity ...
7
votes
1answer
357 views

How to get, both fork down and right in a TikZ tree or diagram

I need your help with a diagram, where I want to place both fork down and right to organize my concept map. If someone have a better solution, please give me some advice. Here´s the code: ...
18
votes
1answer
1k views

Mindmap with Tikz

I created a mindmap according to this example: http://www.texample.net/tikz/examples/computer-science-mindmap/ Sometimes the branches contain too much information so that the map looks ugly like in ...
12
votes
1answer
441 views

Nested node class with pictogram decoration

I'm wondering how can I define custom TikZ node class mynode thats allows my to use following syntax: \node [mynode,fill=yellow!40] {component} \child{ \node [mynode,fill=yellow!40] ...
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?
3
votes
2answers
603 views

Tikz, Tree without overlaps

I'm trying to get a nice tree without the overlaps, can anyone help me to improve my code? \documentclass{standalone} \usepackage{amssymb} \usepackage{amsmath} \usepackage[utf8]{inputenc} ...
8
votes
1answer
396 views

Snow on tikz-qtrees

Is it possible to add some snow on the syntax trees drawn by tikz-qtree? A simple example: \documentclass[11pt]{article} \usepackage{fontspec} \usepackage{savetrees} ...
2
votes
1answer
225 views

Connecting two nodes in tree rectangular

I want to draw a tree like this: The closest I could get to this was the following code: \documentclass{minimal} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \tikzset{level ...
5
votes
1answer
233 views

Getting vdots in graph tree

\documentclass[12pt]{article} \usepackage{amsmath} \usepackage{tikz} \tikzstyle{vertex}=[auto=left,circle,fill=black!25,minimum size=20pt,inner sep=0pt] \begin{document} \begin{tikzpicture} ...
6
votes
3answers
911 views

drawing a syntax tree in tikz

I would like to draw a syntax tree, which resembles the below syntax tree. I know that I can use tikz to draw syntax trees, but I can't seem to figure out how to draw a straight line down to a node, ...
8
votes
1answer
508 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
209 views

How to convert Newick tree format to TikZ? [closed]

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
184 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
570 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
529 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
688 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} ...
14
votes
2answers
1k 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
517 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 ...
6
votes
1answer
12k 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
339 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
131 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
239 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} ...
14
votes
1answer
874 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
164 views

How to plot a tree with sidebar?

I'm trying to draw a picture like this: Can we done it with tikz?
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. ...
3
votes
1answer
548 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
479 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
393 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 ...
5
votes
1answer
294 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
447 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
664 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 ...
13
votes
2answers
1k 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 ...
4
votes
3answers
646 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
331 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 ...