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

learn more… | top users | synonyms

1
vote
0answers
13 views

Custom PSTricks directory tree to TikZ

I have a PSTricks implementation of a custom directory tree which I find quite appealing. I basically want to convert the whole thing to TikZ. I managed to get the very basic idea running in TikZ: I ...
1
vote
2answers
19 views

Is there a possible way to make these tikz-tree smaller?

I do have a little question about my tikz-tree you can see on the photo below. If you polt it on a paper it is quite a bit big and takes almost half of an a4 paper. Now my question: Is there a ...
0
votes
0answers
28 views

Is there a possibility to make a circle around a node like on the photo?

I would really like to have a circle around the first node of my tree like you can see on the photo. Is there a possibility? I only startet with latex and there is so much new for me... Thank you!! ...
3
votes
1answer
24 views

how to change font-size of a tikz tree

Is there a possibility to change the font size of the text right on the line of the following tree? I would like to reduce it, so that the tree does not appear such big. I hope someone may help me. ...
2
votes
1answer
29 views

is there a possibility to rotate text in a tree (tikz)?

Is there a possibility to make my tree a bit more well-arragend? At the moment I think, there is a lot of mess and you do not get which description refers to wich line and so on. I hope you understand ...
5
votes
1answer
61 views

Layered Graph from Tikz Manual

I suppose I have quite some experience with vanilla latex (which I have used to write several documents), but I am making my first baby steps with tikz. In particular, I am trying to reproduce the ...
2
votes
0answers
22 views

Tikz-qtree strange placement problem [duplicate]

I'm having issues with the placement of the values in my tree, i'm not quite sure whats the cause of it. Any help is appreciated. \documentclass{article} \usepackage{mathtools} \usepackage{newfloat} ...
3
votes
0answers
70 views

Make an organisation Chart on Latex

I am looking to make an organisation chart on latex for a group project. I have never done this before, and I saw that I can use the Forest package or using tikz. My coworker, made the chart using ...
2
votes
2answers
44 views

highlight a node in tikz

\begin{frame} {Family work up } \begin{tikzpicture}[level 1/.style={sibling distance=5cm},level 2/.style={sibling distance=2.5cm}] \node {Patient}[edge from parent fork down] child { node ...
0
votes
0answers
18 views

How to get overlay options in mindmaps? [duplicate]

I am using the following codes to construct my mind map. \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap,trees} \usepackage{verbatim} \begin{document} \begin{tikzpicture} ...
2
votes
2answers
27 views

How to write on connecting lines in Tikz?

So I am trying to do a similar diagram: I have done this so far: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} % Circles \draw[fill=white] (0,0) ...
-1
votes
2answers
80 views

How can I reproduce this tree diagram?

I want to reproduce the tree diagram shown below. My major problem is how to put text (Yes/No/Exposure...) next to the lines.
3
votes
2answers
78 views

How to draw a proper decision tree

I need to draw a decision tree for my LaTeX document (with TikZ/forest or any other package). I searched around for a while to find something similar, but found none. The decision tree produced should ...
3
votes
1answer
40 views

TIKZ Tree: Change angle between Nodes

I am struggling to find out how to change the angle between nodes in tikz trees. I have already tried the attribute sibling angle=... specifically for child nodes or as level 1/.style=... attribute at ...
1
vote
1answer
23 views

One-period multinomial model

I am trying to draw a One-period multinomial model that looks like this: But I am having trouble using the tikzpicture package to achieve this, any suggestions is greatly appreciated.
7
votes
2answers
75 views

How to horizontally align child nodes with the graphdrawing library of TikZ 3.0?

I want to left align the "2222" node with the other nodes on the same level (see MWE below). Is this possible using the graphdrawing library of TikZ 3.0? I could not work it out so far. ...
3
votes
3answers
105 views

Multilevel hierachical tree/taxonomy with linebreaks and “empty items” in Tikz

I would like to include graphics like the following in my document. Since this is just one example and there will be different models, I can't just include it, but will rather need to be able to build ...
1
vote
1answer
45 views

Some questions regarding tikz tree

I have a tree working written in tikz, however, it's not fully what I wanted it to look like \begin{tikzpicture}[level/.style={sibling distance=60mm/#1}] \node [circle,draw] (equal){$=$} child ...
2
votes
1answer
63 views

Rich phylogenetic trees accompanied with a non-linear timeline

I wish to draw a phylogenetic tree which is graphically rich (the edges may have several colours/styles), and more importantly, the tree would be aligned with a timeline, which need not be linear. ...
6
votes
2answers
110 views

How to unite several nodes in one big node using Tikz?

I have to implement the Gomory-Hu-Algorithms which requires the reunion of several nodes to one node like it is shown here: My code is quite simple since the example I want to implement is quite ...
8
votes
4answers
192 views

Allignment of Tikz tree levels

I want to reproduce the following figure. And got the following figure with the code given below: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows, shapes, trees, positioning} ...
5
votes
2answers
83 views

Copying non-epsilon terminal nodes in parse trees using forest

I'm drawing parse trees for formal grammar using the forest package and would like to have all terminals, that are not Epsilon, to be copied to the bottom and connected to the original node with a ...
5
votes
2answers
784 views

How to draw custom nodes attached to tikz-qtree?

I want to draw a tree which is similar to the Merge sort recursion tree in this Tikz sample from TeXample.net: However, I don't want to draw all the + and = signs, I just want two columns: one from ...
3
votes
2answers
127 views

Butcher Trees in TikZ

I am trying to construct a function in Tex called \rootedtree, which takes in a a tree written in the notation of J. Butcher and then prints out the corresponding tree in TikZ. For instance consider ...
3
votes
1answer
54 views

Strange issue with linking nodes in a tree

I have the following tree: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{tikz} ...
6
votes
2answers
111 views

changing your latex code to modify the existing block diagram

My figure now looks like figure 1 using below code whenever I try to add more blocks ,the blocks become overlapping . % https://www.packtpub.com/hardware-and-creative/latex-cookbook ...
1
vote
0answers
42 views

Tikz: Alligning paths in its entirety

How can I align paths? I have two mindmaps: \documentclass[tikz,border=5]{standalone} \usetikzlibrary{trees,mindmap,chains} \tikzset{grow cyclic list/.code={% \def\tikzgrowthpositions{{#1}}% ...
14
votes
2answers
575 views

Recursive Stern-Brocot tree definition

I am trying to build a Stern-Brocot tree (enumeration of rationals). The result is nearly acceptable, but I am still dissatisfied with the following points. The edge from the parents goes to the ...
3
votes
1answer
65 views

Tikz: Fill concepts in mindmaps nicely

When using this code: \documentclass[tikz,border=5]{standalone} \usetikzlibrary{trees,mindmap} \tikzset{grow cyclic list/.code={% \def\tikzgrowthpositions{{#1}}% \foreach \n ...
2
votes
0answers
27 views

How to place tree node not to overlap with tikzpicture? [duplicate]

I'm trying to draw a tree diagram using tikzpicture, the issue is that when the distance between nodes are not wide enough the tree nodes are wrapping. As I use two column style, I need to find a way ...
3
votes
1answer
59 views

custom forest style: dimension too large / dividing by zero?

I've written myself a custom style for forest, to get trees looking the way I'd like them to. The idea of the style is to keep the branches at a fixed angle, and automatically handle empty nodes ...
-1
votes
1answer
101 views
3
votes
1answer
30 views

Get rid of the number on some of the edges

How can I get rid of the circled marked 0 in red on the edge? Code: \documentclass[tikz]{standalone} \usepackage{forest} \tikzset{el style/.style={midway, font=\scriptsize, inner sep=+1pt, ...
-1
votes
1answer
108 views

File `elocalloc.sty' not found

I am trying to compile an example of the Huffmann which I found but I am getting the error: ! LaTeX Error: File `elocalloc.sty' not found. Type X to quit or to proceed, or enter new name. ...
3
votes
2answers
120 views

tikz trees: How to not draw a single edge

I want to draw a tree and not draw specific edges. I try it like this \documentclass[preview]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[every node/.style={circle,draw}] ...
5
votes
3answers
93 views

Macro for creating trees for B-series as math symbols

I am writing a paper on numerical solutions for ODEs. For the representations of B-series I want to use binary tree-like symbols. I know how to produce them with TiKZ; however, just as in the given ...
3
votes
2answers
114 views

Tikzpicture horizontal tree - how to recombine daughters

I have a a horizontal tree representing a multi-period financial model. I want to have each parent converging into the same daughter as the parent's downside above them, and vice versa. I'm attached a ...
2
votes
2answers
55 views

Adding a separation line to a Tikz graphic

I have a graphics/tree which looks like the following: I created this figure using the following code: \begin{tikzpicture}[sibling distance=10em, every node/.style = {shape=circle, draw, ...
1
vote
0answers
87 views

Highlighting specific parts of a customize graph

I want to highlight specific parts, like this, for my graph (see code below). But in my case the highlighting (from the link above) doesn't work. The specific customized graph elements come from here. ...
4
votes
2answers
78 views

Highlighting/marking areas in a tikz tree

How can I highlight some specific regions in my TikZ tree? First picture shows my tree, and the second picture shows the idea of my desired outcome (but the rounded grey rectangles should be behind ...
4
votes
3answers
72 views

Alignment in directory tree

I want to draw a directory tree, see the code below. I can't get the alignment right in the following areas: The H of Here is text and the T of This is some more text must align. All horizontal ...
0
votes
0answers
34 views

Frame around two Latex Pictures, Heading on top

so what I want is to have two boxed with LaTex pictures (5 in the left box, two in the right) next to each other who each have a different heading. I didn't manage to even put the text on top of the ...
1
vote
0answers
34 views

encorporating tikz tree in a figure environment messes up “landscape” option

I have a large tikz tree that I can only display properly if I turn around my page to landscape. Doing so is not a problem: The \begin{landscape} and \end{landscape} commands do that fine. However, I ...
3
votes
1answer
55 views

Tex Add nodestyle

Is it possible to use different node styles with my "syntax" of defining the nodes (using [. ]). \documentclass[landscape]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
119 views

Package for drawing cause effect graphs (-> software test technique)

Is there a package or a package extension for drawing cause effect graphs (see the screenshot below for atomic elements). If there is no package can someone explain how I can achieve this by using ...
7
votes
1answer
33k 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.
0
votes
1answer
57 views

How can I make a tree (forest) with simple commands like Geophar?

I use Geophar http://sourceforge.net/projects/geophar/ With this Program, I can easy to make a tree. With the code ||Tirage 1|Tirage 2|Tirage 3 omega >A:0,7 >>B:0,2 >>C:0,8 ...
1
vote
0answers
20 views

Binomial pricing trees using tikz [duplicate]

How do you make binomial pricing trees using tikz? I mean a tree like the this, but with only three time periods.
1
vote
1answer
91 views

Making trees(time to most recent common ancestor) along a DNA sequence

Hi I have a DNA sequence and i want to draw a figure that says the tree height ( time to most reason common ancestor) can change. It is a rather difficult job and I can't figure out how to draw the ...
4
votes
1answer
189 views

Drawing Markov Decision Processes with Tikz

I thought this would be much easier. I am trying to recreate the standard MDP graph that is basically the same as a Markov Chain (I know a lot of posts about that) but with the addition of lines that ...