9
votes
1answer
187 views

Is it possible to cut a tikzpicture in half if the picture is too long and display it on two pages?

I'm using tikz (tikzpicture to be precise) to make some "drawings" (trees). The problem is that my "drawing" is too long to fit on one single page (it's too long). I was wondering what was the best ...
2
votes
1answer
51 views

Drawing Graph of Markov Chain with “Patches” using Tikz

First time using Tikz. Haven't found any documentation on drawing graphs like these, so I have been reading other examples and trying to modify their code to fit my example. I am trying to reproduce ...
7
votes
2answers
223 views

Trees with only leaves in TikZ

Following Roel's answer to How to write a tree with no (visible) root with TikZ? I attempted to visualise my Huffman-Code for "Tennessee", but it didn't turn out as I expected: My MWE: ...
3
votes
1answer
53 views

Alter location of edge in graph in tikz

So I have the following: \begin{tikzpicture}[shorten >=1pt,node distance=1.75cm,thick] \node (A) {$A$}; \node (B) [below left of=A] {$B$}; \node (C) [below right of=A] ...
4
votes
2answers
74 views

representing a null child in a binary tree using `ground` symbol

I'm using ground symbol to represent a null child in a binary tree. But the ground symbol has arrows in it. How do I remove them? \documentclass{llncs} \usepackage{llncsdoc} \usepackage{tikz} ...
4
votes
3answers
127 views

Draw a binary tree using tikz

I'm trying to draw a binary tree using tikz package. If I use only circle, I get a tree. But I want to represent a subtree using a triangle. Now the tree gets uneven. I want to attach the arrows to ...
1
vote
0answers
86 views

Tikz code not working in LyX but working in pure Tex

I'm trying to add a tikz picture in my LyX document. To do this, I organize the tikz tex code in Texmaker (a friend sent me a tikz code model in a .tex file) and then I copy it to a ERT in LyX (making ...
5
votes
1answer
123 views

TikZ: Re-arranging the hierarchical diagram

I was quite impressed by the solution given by "cfr" for the question posted here. Can you suggest a method to change the two main children (labelled Projection matrix Theory and Reconstruction ...
5
votes
2answers
164 views

Produce nice TIKZ picture (Tree)

so far i have the following code which gives me a ugly TIKZ picture (twe level tree). Is there a comfortable way to get a nice spacing for second level nodes? Thank you very much in advance! ...
3
votes
1answer
79 views

Close a cycle in a TikZ graph with a loop

Consider the following simple flow diagram. I like using the graph drawing library in TikZ for its simplicity and semantics: \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
74 views

TikZ: Skinny ellipse around two horizontally and vertically offset nodes in a tree

As a follow up question to draw an ellipse into a Tree picture -tikz package, how would one go about making a skinnier ellipse that encircles two horizontally and vertically offset nodes in a tree? ...
4
votes
3answers
166 views

TikZ: circle split vertical

I want to split a TikZ node into a left and a right part, just like circle split does in upper and lower part, e.g. \node [circle split,draw] (x){$a$ \nodepart{lower} $b$} Is there a vertical ...
3
votes
1answer
91 views

Horizontal Probability Tree with Level Labels

I'm trying to create a Horizontal Probability Tree with Level Labels using tikz. (Not tikz-qtree). Right now, I have a horizontal tree. The labels are NOT aligned to the top of the diagram. I would ...
5
votes
1answer
135 views

TikZ nodepart children

I know how to create a multipart node in TikZ using \nodepart, and I know how I can draw lines from these nodeparts to hook them up to other nodes: \documentclass{standalone} \usepackage{tikz} ...
1
vote
1answer
96 views

fit tikzpicture to page width or height (using macros)

I have a new environment defined that fits tikzpicture to the page width, but when tikzpicture is long in height the bottom part of the tikzpicture is cut and extra blank page appears because of the ...
6
votes
1answer
97 views

Is it possible to change the edges for some tree level using forest package?

Is it possible to change this MWE which is using forest package to produce a tree, similar to that produced by the next MWE that is not using forest? The very last level of child nodes would have to ...
5
votes
3answers
141 views

Prevent TikZ tree text overlapping with later lines

I'm trying to create a family tree with TikZ growing right. I have the tree working, but the text at each node is too long, it overlaps with later lines (e.g. My Family Tree, Paternal GMother and ...
1
vote
1answer
47 views

Specifying level 2 style for a tree in Tikz

The idea is to produce the org charts automatically by application code reading a database and calculating the node counts and sizes based on the names of teammates and their hierarchy. After reading ...
8
votes
3answers
375 views

Mendelian Inheritence Chart

I would like to be able to create a simple chart that depicts Mendelian Inheritence, like this one: I'm not too picky about how it looks, as long as it depicts it accurately. Thanks!
0
votes
0answers
100 views

How do i create this graph on latex?

So…i made this graph using paint(!)…and it looks horrible. I have used tikz to create similar graphs but this one seems to be more difficult.
6
votes
3answers
281 views

Drawing vertical hierarchical n-ary tree in tikz

I am trying to draw a simple vertical tree to represent a hierarchical partition of a graph in communities. I have written some code to draw it in tikz, but I am not very satisfied of the result. My ...
6
votes
3answers
280 views

Upside-down syntax trees for linguistics with horizontal lines

I know that syntax analysis can be done in Latex using using TikZ, but the tree-structure that produces isn't really used in my country. Here, we mostly use straight lines instead of hierarchy trees. ...
22
votes
2answers
551 views

Why does PGF/TikZ 3.0 draw my simple layered graph as non-planar by default?

I have two questions: If I’m reading §30.4 “Crossing Minimization” of the PGF/TikZ 3.0 manual correctly, the layered graph drawing algorithm should have crossing minimization enabled by default. So ...
5
votes
1answer
147 views

Still some of the flows missing in the flowchart

I have posted this question few days back but still I can't complete the algortihm. This is the uncompleted work done so far \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
6
votes
1answer
267 views

How to plot a graph from its adjacency matrix?

For example, I want to plot a graph whose adjacency matrix is [0,1,0;1,0,1;0,1,0]. I first plot three points labeled by p1,p2,p3, and link the points p1,p2, p2,p3. For a general case, how to link the ...
1
vote
0answers
95 views

Tree with some nodes and leafs in arbitrary places [closed]

I need to draw a quite abstract tree. This tree will visualize proof substituting in natural deduction (proof theory). I have a deduction (let's call it 'D1') of A with open assumption B and a ...
3
votes
1answer
190 views

Drawing arrows to nodes in trees

I try to draw rhe following three figures. The left is just a sequence of symbols NP V NP AP, the middle one is a unary branching tree and the right one is a binary brancing tree. I want to place a V ...
8
votes
1answer
166 views

Why is this comment character required for correct rendering?

There is a comment between two child nodes down below, that if removed would cause tree to render completely wrong. Why? \documentclass[10pt]{article} \usepackage{tikz} \usetikzlibrary{trees} ...
9
votes
2answers
149 views

Using em unit instead of cm in text width shifts node label

When em unit is used in text width style directive, resulting label shifts ever so slightly to the left from its center position directed by preceeding text centered. When using cm unit, label is ...
6
votes
2answers
146 views

How to draw an arc between edges connecting child nodes?

I have the following code to generate a couple of trees. How do I draw arcs between the edges (marked in red in the figure)? \usetikzlibrary{intersections} \begin{tikzpicture} \node {Goto(P$_A$)} ...
6
votes
1answer
160 views

Hyperlinks from a TikZ tree

I am trying to combine this answer on how to create hyperlinks with a tree hierarchy taken from the filesystem tree example. While the basic hyperlinking works, I get an error message as soon as I ...
3
votes
0answers
41 views

How to draw a tree with fixed node distances? [duplicate]

I am trying to build on the filesystem tree example. I have a similar requirement to display a hierarchical tree, but I'm struggling to get the tree layout right. In the example, the link between a ...
5
votes
2answers
173 views

Blank page before TikZ family tree picture

I drew a family tree using TikZ with the positioning library, following in the footsteps of Gonzalo. The problem is that there is a blank page generated before the family tree. Can anyone explain why ...
1
vote
1answer
106 views

problem with tikz-qtree

When I type set this example, I get I, love, my , country as four different nodes. I know I am not able to get a syntax for enclosing MULTIPLE words together for tikz-qtree. I tried to look ...
2
votes
1answer
205 views

Distance between tree levels in Tikz, edges and node centering

Level distance does not seem to have any effect on the 1st node's distance from its children in the MWE below (tried adding level distance and playing with its values at every level, but it works only ...
3
votes
2answers
109 views

How to define edges in tikz

When I use absolute position for the edges, I get almost intersecting arrows. Here is my code. Kindly help. \begin{tikzpicture} [ node distance = 2cm and 0.8cm, >=stealth, ...
1
vote
2answers
124 views

how can I improve the look and impact of thi tikz tree diagram

\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes,arrows} % styles for flowcharts \tikzstyle{block} = [rectangle, draw, text width=5em, text centered, rounded corners, minimum ...
2
votes
1answer
126 views

PGF automatic determined vertical distance between tree nodes / level

I am trying to draw a tree overview and got an example from http://www.texample.net. But I have a problem with the vertical distance between the nodes (levels). Is there a way how tikz can ...
3
votes
1answer
176 views

How to draw AVL rectangle represention in TikZ?

I am trying to represent AVL's in an old way that I was taught and found more intuitive to display in comparison to most common books nowadays. The raw images with the features I am interested in are ...
7
votes
2answers
226 views

Special tree in tikz

I'm trying to draw a tree like this: The root has three children and every of this two... The nodes in the first two tiers has additional informations.. I searched for examples like that, but could ...
7
votes
2answers
346 views

Is this possible in Tikz?

I am wondering if it is possible to quickly create something like this in Tikz. In particular, I am concerned with making the zig-zag line, which has these properties: Each star is on a clearly ...
5
votes
1answer
165 views

tikz parameterized circle node with t-lines inside within a tree diagram

I would like to draw a tree diagram consisting of circle nodes with three subparts divided by a t-line (see sample below). Instead of separating every tree node by hand I would like to only specify ...
7
votes
1answer
246 views

Clear and readable syntax style for tikz trees with edge labels and options

I'm fairly new to tikz and TeX but I don't have a problem writing the code for the tree. I just would like to have a human readable tree. Here's a minimal expample of the tree without edge labels or ...
5
votes
1answer
219 views

How to connect two parents to the same child, with parents not in the same tree?

I'm trying to draw a specific tree, with two parents node linked to the same child. The problem is that one of the parent is outside the main tree. Here's the code I have for the moment: ...
4
votes
0answers
179 views

How to draw this 3D H-layout recursive tree with Tikz? [closed]

Background: This is an extension problem from my last post How to draw the recursive H-Layout tree using Tikz?. The (2D) H-layout tree is actually from the VLSI layout problem in computer science. I ...
11
votes
2answers
320 views

How to draw the recursive H-Layout tree using Tikz?

The following image shows a recursive H-Layout tree. It is called H-Layout because of its H unit consisting of 7 nodes. My problem is: How to draw such tree in a recursive manner instead of ...
6
votes
1answer
327 views

How do I create a Tikz mindmap that has two connected roots?

I am creating a mindmap that has multiple root concepts instead of just one. How can I create such a mindmap using Tikz? These are the mindmaps: \begin{tikzpicture}[small mindmap,concept ...
3
votes
3answers
391 views

Overlap in graphing TikZ picture

I'm drawing trees in graph theory. Some of the nodes are overlapped. Can anyone help? % Red-black tree % Author: Madit \documentclass{article} \usepackage{tikz} ...
5
votes
2answers
390 views

More efficient way to draw movement arrow to roof in tikz-qtree

When drawing syntactic representations in linguistics, one often uses a triangle to represent a unit whose internal structure is irrelevant. This can be accomplished with the tikz-qtree command ...
3
votes
2answers
1k 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 ...