Questions tagged [tikz-trees]

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

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
137 views

How can I get correct spacing when reusing Forest trees and when calign is center (default), last etc.?

Forest allows me to reuse (part of) a tree in another tree. However, when calign has certain values, including the default center, this does strange things to the spacing of some nodes. How can this ...
cfr's user avatar
  • 197k
3 votes
0 answers
759 views

Draw and-or trees' arc with tikz tree library

I'm trying to get a similar result of this question: Drawing AND/OR trees in Tikz. However, I'm trying the trees library from tikz and was trying to get the automatic arc that is produced with the ...
adn's user avatar
  • 11.2k
2 votes
0 answers
94 views

Help to draw attached diagram in tikz

Kindly help to draw this diagram in tikz. How many level should I include for this type of diagram. The issue is not using forks down in the next level.Thank you \documentclass[a4paper, 12pt]{article}...
user3056542's user avatar
2 votes
0 answers
571 views

Tikz : Graphs : Shift the sublayers/levels horizontally and vertically in a tree layout?

This differs slightly from directory listing as at TeXample and Drawing a directory listing a la the tree command in TikZ in that I'd like to annotate the final structure showing links between the ...
Carel's user avatar
  • 988
1 vote
0 answers
71 views

Tikz tree family tree spacing and lines

I'm stuck on the problem of making a family tree which has parents linked by a line with children centered underneath, with some spouses having their parentage also indicated. I've tried two methods, ...
alice19's user avatar
  • 746
1 vote
0 answers
67 views

Problem with edges over text when using "edge from parent fork down"

I am using tikz to depict a decision tree, but something is going wrong: some lines are being plotted above the text (see picture below) This is the code I am using: \begin{tikzpicture} [ level ...
jayash's user avatar
  • 11
1 vote
1 answer
96 views

Draw the first level of a directory in forest in columns

Based on this example, I'm trying to move the first level of the folder structure next to each other (as I have 4 folders containing a lot of files). Until now, I tried this, but I'm stuck at the ...
Baptiste's user avatar
1 vote
0 answers
102 views

Help with a tree-like design in overleaf

I want to design a similar tree to this without the allocation choices as I have other treatments. I tried to search maybe for game trees that could help, but nothing was similar enough, maybe except ...
Maybeline Lee's user avatar
1 vote
0 answers
74 views

level distance not working consistently

The present question is a continuation of this one, and relies on answers given there. Here is the code that generates the image below. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary {...
mk9y's user avatar
  • 299
1 vote
0 answers
105 views

Make an edge fit its label size in Tikz

I am using the Tikz graph library to draw a suffix tree, and I would like the edges' sizes to fit their labels. Is that possible?. Some labels are short and other long, so the tree is of variable ...
AAA's user avatar
  • 43
1 vote
0 answers
274 views

Drawing a binary tree in tikz

I tried to do this tree for the first time and I used this code but appears an error. How can I correct these errors? enter link description here \documentclass[tikz,border=5]{standalone} \...
Elias's user avatar
  • 11
1 vote
0 answers
159 views

TikZ Tree Structure and Genealogytree (or alternatives)

I'm attempting to draw the following "idea genealogy" using TikZ for use in a presentation: and based off a prior answer, I have the following solution. \documentclass[10pt]{standalone} \usepackage[...
Gregory Gelfond's user avatar
1 vote
0 answers
366 views

Convert XML to Tikz

Is there already a tool, that can convert a XML file to a Tikz-tree? <node id="1" time="0"> <info1> <info1a="1"/> </info1> <info2> <info2a="0"/...
user1's user avatar
  • 2,196
1 vote
0 answers
198 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. ...
d4rty's user avatar
  • 779
1 vote
0 answers
73 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 ...
PikkuKatja's user avatar
0 votes
0 answers
177 views

Color of tikz node is not working

I have the following graph, I aim to have the labels in black color to be orange color. In Overleaf, it's completely normal and the texts are in orange, but when I insert the very same code it shows ...
Khalil Mebarkia's user avatar
0 votes
0 answers
270 views

Creating taxonomy diagrams that could include long text

I am now writing a survey paper and I would like to create a taxonomy that organizes the previous works. I checked out the https://texample.net/tikz/examples/feature/trees/ but the provided templates ...
Mr.Robot's user avatar
  • 257
0 votes
2 answers
103 views

What package do I need to make a diagram that is part-genealogy part-timeline that makes use of lines and rotated brackets?

So I am trying to replicate a certain diagram that looks to be part-genealogy of companies and part-timeline that uses lines denoting descent and rotated brackets denoting mergers. Here is what I am ...
theienzo's user avatar
0 votes
0 answers
83 views

Drawing a 3D Volume in TIKZ knowing his sections

I'm basically a beginner using TIKZ and I need your help to draw a volume with these features: Domain: [0;4] Basis of the volume (on the x-axis): it is the function f(x)=cos(x/2)+1/2 in the domain. ...
JULY GIULIO's user avatar
0 votes
0 answers
45 views

Making a tree where some nodes contain node objects

I want to create a tree using tikz. However, I have a few constraints. Most of the nodes at all the levels are standard usual nodes. However, I want to have the following at some level (say level 3) ...
Akash Kumar's user avatar
0 votes
0 answers
184 views

Draw a tree-graph in Latex with Tikz or qtree

Is it possible to draw tree-graphs like the image below in LaTeX? I just need an idea of ​​how to write the first two levels of the tree. I believe that from there I can continue... thanks!!!!!
daniel robledo's user avatar
0 votes
0 answers
85 views

Adjust tikz-figure as a subfile on the text width (svjour3 template)?

I have to use the svjour3 document style. In my document, I need to include a fault tree which I created in a different file/chapter. My problem: Unfortunately, the tree is not adjusted to the normal ...
Lee's user avatar
  • 15
0 votes
1 answer
214 views

xparse optional arguments lead to error in tikz

I am trying to create a few simple macros for B-Trees and one of these macros is supposed to create a multipart node tikz based on the number of arguments it gets. Therefore I used the g argument ...
Septatrix's user avatar
  • 408
0 votes
0 answers
61 views

How to draw diagram in tikz of following image

I want to draw following image in latex tikz tree in my thesis
ibrar hussain's user avatar
0 votes
0 answers
410 views

TikZ tree - too large (many nodes)

I have the following tree produced by the LaTeX code at the end, which is a modification from Drawing a directory listing a la the tree command in TikZ My problem: When I have a lot of nodes, I get ...
user565739's user avatar
  • 5,482
0 votes
0 answers
281 views

How to generate family tree for infinite generations in latex?

Most of the templates i have found so far family tree is for finite generation, How can we code for infinite generation family tree, our family tree generation may be 4, 5, 6, 7 etc. Tnaking you in ...
Biki Teron's user avatar
  • 3,275
0 votes
0 answers
79 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}}% \...
Make42's user avatar
  • 1,762
0 votes
0 answers
80 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 ...
Juliette's user avatar
  • 161