7
votes
1answer
240 views

Automatic connection of text points in tikz-qtree

I have to draw pictures like the following a lot: I want to use tikz-qtree, since I have a lot of trees and this package simplifies things considerably. Right now I use the following code, since it ...
3
votes
2answers
970 views

tikz tree fork down edge labels

\documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[level distance=1.5cm, level 1/.style={sibling distance=3.5cm}, level 2/.style={sibling ...
7
votes
1answer
251 views

Draw randomized tree in TikZ

I am trying to draw a randomized tree using TikZ, that is, I'm looking for a macro \randtree{NN}{x} that attaches a randomized tree of maximum depth x to a node named NN. The nodes need not be visible ...
6
votes
1answer
284 views

Trees in latex : Depth of 4 nodes

I am following the current tutorial (MWE) : link However, I am facing difficulties to perform a tree of 4 nodes. Items are superposed, and even if I add a child [missing] {} it doesn't solve the ...
2
votes
1answer
168 views

How can I use fork style edges with explicitely positioned TikZ tree nodes?

As part of a graphical export facility, I try to render a tree in TikZ were all the node positions are exactly given and were the edges are fork-style. Doing that without the trees package demands ...
2
votes
2answers
694 views

[Tikz-]Qtree: force direction of single child to left or right?

I'm trying to draw a tree that has internal nodes with only one child, but which must be oriented. / \ /\ \ /\ Instead of the typical qtree where said children just "hang": ...
5
votes
1answer
418 views

How to fix the overlapped nodes with long text, in TikZ. Concept maps

I'd like to get helping from you. I want to have paragraphs in the nodes of the concept map with Tikz, I mean, texts with multiple lines. I have a problem with texts, the nodes are overlapped. Here's ...
1
vote
1answer
401 views

Draw a tree with variable node number

I would like to draw a tree in tex that is more like a sketch of a tree: It should contain variable node numbers. Important is, that the dots are contained in the tree drawn. Is that possible with ...
9
votes
1answer
228 views

tikzpicture has a node whose text is a tree: unevenly formatting

I want to typeset a picture similar to the following one, using tikz. For that purpose I have written the following latex document \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{chains} ...
2
votes
1answer
317 views

How does one use \node[inner node]{}?

I'm trying to reproduce a TikZ tree from a Till Tantau presentation (see pg.33 of this .pdf) My code is as follows: \documentclass{article} \usepackage[latin1]{inputenc} ...
9
votes
1answer
3k views

Triangle node with adjustable height

I'm trying to draw AVL trees with TikZ, what I need is: Binary tree with simple circle nodes, and adjustable height triangle (or rectangle) nodes for subtrees, both containing only single ...
7
votes
1answer
2k views

Tikz Mindmap - how to get more nodes

% Author: Till Tantau % Source: The PGF/TikZ manual \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap,trees} \usepackage{verbatim} \begin{document} \pagestyle{empty} \begin{comment} ...
11
votes
2answers
1k views

How two connect any arbitrary nodes of tree in tikz

I need to be able to connect any arbitrary nodes in a tree to each other. I am using the tree package in tikz to create my tree. I cannot figure out though how to connect to nodes by let say a draw ...