The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
76 views

How to connect nodes with circular arcs in TikZ?

I need creating a diagram like the one in the picture below. After creating nodes, how do I connect them with circular arcs centered at the centre of the triangle? Thank you all!
1
vote
2answers
135 views

Tikz drawing: child node positioning

I want to achive such drawing with n nodes in level n. (Ignore the irregularities of circle) From http://www.texample.net/tikz/examples/coin-flipping/, it has 4 nodes in level 3. When I cancel one ...
1
vote
0answers
66 views

socket failed in tcp_connect [closed]

I have the same problem as this guy. All the screenshots are applicable to me too. However, he seems to have solved it by putting in his proxy details. I am not behind a proxy for sure. I have ...
0
votes
0answers
32 views

Tikz: how to connect nodes with horizontal or vertical arrows? [duplicate]

I need to connect the ∆V≠0? block to the Compute Acceleration block, and I need an arrow that is either horizontal or vertical, as shown in the picture. I obtained this by cheating and using ...
0
votes
1answer
36 views

How to create Z-shaped arrow line and other lines with even more corners [duplicate]

I want to know how you can easily create a line connecting two nodes which has more than one corner? One corner is easy, you can just use something like \path [line] (node1) -| (node2);. But what to ...
7
votes
1answer
170 views

Draw a simple figure with arrows

I have been trying to get this figure: Can you offer me some guidance as to how to correct my code and also get the arrow heads in the center of the lines? Thanks. Here is my code: ...
1
vote
4answers
66 views

Connect two rectangles with line

I used this method to draw 2 rectangles: \draw[fill=blue](0,0) rectangle (1,1) node[midway,align=center]{my text}; I don't know how to use anchors to connect these rectangles. Do i have to draw ...
6
votes
2answers
144 views

TikZ: drawing balancing diagrams like SolveMe Mobiles

I want to draw a diagram like this: In general, the diagrams in SolveMe Mobiles (section Play) I suppose I can do with raw code, but I want to do with custom command like: "make horizontal line", ...
3
votes
1answer
61 views

Connect nodes with curly braces in TikZ

I would like to know how to connect nodes with curly braces in TikZ. The picture below shows what I want to do: And this is what I already got: \documentclass[class=minimal,border=0pt]{standalone} ...
5
votes
2answers
120 views

seamlessly connect angled edges

I try to draw a very thick edge between two specific anchors of nodes. In reality, they target segments of multipart nodes, but I kept it simple for this example. \documentclass[tikz]{standalone} ...
2
votes
1answer
97 views

How to make non nested diagram in LaTeX

I am trying to draw a diagram in LaTeX but there is a problem which is I needed to made many lines to go to a specific output (Result), but they do a nested output.. look at the diagram that I have ...
2
votes
0answers
27 views

How to connect nodes (or cells) of a table with lines or curves, with TikZ or anything else that will work with Beamer? [duplicate]

I'd like to be able to typeset as simply as possible a table with cells joigned by arrows with TikZ (because I want to use it in conjunction with Beamer and PDFLaTeX). Here is the code I'm comfortable ...
4
votes
2answers
167 views

straight edge between big nodes in tikz

I have two rectangle nodes and want to put an edge between them. I want the edge have its arrow between the top center and the top left end of the lower node. I tried to do this with specifying in and ...
2
votes
2answers
341 views

Tikz: Simple decision tree (node connections)

I am trying to reproduce the following So far I got this: \begin{tikzpicture}[] \small \node[] (AB) {$A \succeq B$}; \node[]{} child{node[chance]{C} edge from parent ...
3
votes
1answer
152 views

What's the difference between xshift/yshift and relative coordinates while drawing an arrow between nodes?

Last night I crafted this piece of LaTeX, using relative coordinates to join nodes with arrows: \documentclass[a4paper,10pt]{article} \usepackage{tikz} \usetikzlibrary{positioning} %for [above], ...
2
votes
1answer
81 views

Adding a legend with connector to a picture with overpic and tikz lead to a misspositioning of the bottom left corner of the tikz picture box

I try desperately to make a macro which allows me to simply add a circled number with connector on a figure. To do that, I try to use into the command \put of overpic a tikz function which makes the ...
3
votes
3answers
89 views

Special connexion with a node (TikZ)

I want to connect a rectangle with a circular node using an arrow, as in the picture below (to the right). The problem is that I have to specify very arbitrary coordinates (e.g. -2.97 in the code ...
4
votes
1answer
65 views

Connecting scopes with braces and arrows

I'm working in a tikz figure that so far is like that: Produced with the following code: \documentclass[tikz,border=9]{standalone} \usetikzlibrary{matrix, calc, backgrounds, ...
3
votes
1answer
369 views

Node below axis annotation in tikzpicture/pgfplots

I want below the axis annotation a node (with some text) and from this node a arrow should point to a specific point on the x-axis MWE \documentclass[paper=a4, fontsize=12pt]{scrreprt} ...
6
votes
1answer
157 views

Tikz: writing a line from an point lying on a bent arc in a direction that is perpendicular to the tangent of the bent arc

I am trying to annotate bent arcs of a graph. There should be a link from the bent arc to the text of the annotation. Moreover the link should be perpendicular to the tangent to the bent arc. Here is ...
2
votes
2answers
165 views

anchor point on a self loop (to draw a line from that anchor point)

I would like to annotate self loops of a graph, that is write a tiny line starting from the self loop and going to some text. My problem is that I don't know how to get access to the "anchor point" ...
4
votes
2answers
199 views

Adjust node level using phantom node

Consider the MWE: \documentclass[landscape]{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \tikzset{ treenode/.style = {align=center, inner sep=2pt, rounded corners = ...
6
votes
3answers
295 views

Horizontal - Vertical connectors in a tree (in place of slanted lines)

Here is the MWE: \documentclass[landscape]{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \tikzset{ treenode/.style = {align=center, inner sep=2pt, rounded corners = ...
4
votes
2answers
179 views

Two-lined brace in tikz node

I want to produce a timeline in the tikzpicture environment that looks like this: But my code, gives me the following: So I need the brace around both lines of my node! My code now looks as ...
2
votes
1answer
506 views

Drawing grids filled with random selected colors and connecting them

What I'm trying to do is to draw to 4 x 4 grids side-by-side to represent the concept of bootstrap, from statistics. So, what I would like to do is to draw them and fill each cell of each grid with a ...
2
votes
0answers
484 views

Special decoration for TikZ pin feature

I try to achieve the curvy pin style I sketched below. It would help to distinguish pin lines from grid and other lines in the diagram. How can I realize a decoration that automatically draws such ...
7
votes
1answer
771 views

tikz complex mindmap of all disciplines and subdisciplines of knowledge

just started using LaTex yesterday and I am stuck on my very ambitious diagram of all disciplines of knowledge. Problems (some simple, some probably more complicated): change the page size to even ...
1
vote
0answers
122 views

Straight lines look out thicker than diagonal [closed]

I am currently creating a graph of connected nodes i tikz. When I draw a diagonal connection using: \draw[solid] (a) --node[midway,right](){0.3} (b) the line looks much thinner than when a draw ...
1
vote
1answer
295 views

Tikz: How to combine orthogonal edge syntax with coordinate calculation? [duplicate]

I'm trying to combine the syntax for orthogonal edges (p |- q) with the syntax for calculation relative coordinates ($ (a) + (1,0) $). Example: \draw ($ (node1.south) + (1,0) $) to ( ($ (node1.south) ...
7
votes
1answer
390 views

How to “outline” a path in TiKZ?

I have a drawing in TiKZ (of a graph, say) and I want to highlight two paths in the drawing. Is there a way to do that using my already-defined node names, without explicitly making new coordinates? ...
3
votes
1answer
277 views

tikz : edge loop and rotate

Here is my example : \documentclass{standalone} \usepackage{tikz} \def\test#1{\node[circle,draw](#1) at (0,0) {#1}; \draw[->] (#1) edge[in=40,out=-40,loop] ();} \begin{document} ...
4
votes
0answers
93 views

Variable Input/Output node using a new command [closed]

How can I create a variable input/output node using a new command as in the following picture Say for example, I know that the node will have n inputs and m outputs, which I enter the name as an ...
4
votes
1answer
379 views

Add more anchors to standard TikZ nodes with TikZ 3.0

In order to define additional anchors in TikZ, I use the code from this popular answer. Unfortunately, after updating to TikZ 3.0, the code does not work anymore. I now receive several errors and my ...
4
votes
1answer
447 views

PGFplots: dashed lines

How can I do to draw vertical dashed lines which connect markers of one serie with the respective one of the other serie? X axes for both plot is the same. MWE: \documentclass[]{standalone} ...
2
votes
1answer
575 views

connections with circuitikz

I'm trying to create a diagram from motor controller consisting of a microcontroller and its peripherals. 1) How to get the red dot on the line with circuitikz. 2) Draw current arrow below the ...
5
votes
1answer
596 views

How can I create this kind of flow chart?

I am creating a beamer presentation. I try to create a tikz flow chart. Here is my production. T_T Actually, what I want to do is Be grateful with any help! So frustrated now. ...
3
votes
0answers
57 views

Nodes linked by a horizontal arrow in enumerate environment [duplicate]

Alright, here's what I need. I need links between nodes a la tkz-linknodes, but, unlike that package, I need linking arrows that appear beneath the sentence as opposed to linking arrows that appear in ...
5
votes
1answer
3k views

FlowChart with TikZ

I'm trying to build a flowchart using the tikz environment but I'm having some trouble connecting the "No" line from decision to int (and from update to int). How can i draw a line avoiding ...
5
votes
1answer
2k views

tikzpicture vertical line from one node to the other [duplicate]

Assume there are two nodes A and B, with B below A. These nodes are of different width. Connecting A.south to B.north results in a slanted line. I wonder how I can connect A.south to B with the ...
10
votes
3answers
515 views

connect nodes that it looks like circle

I have 3 nodes placed on a circle. These nodes are differently shaped. I want to connect them and want the arrows to look like a circle, because it is a repeating process. I can connect them with ...
5
votes
2answers
1k views

individual path distance between nodes

I have been using the Tikz package to draw NFA's and DFA's, and it's a good package to do so with, but sometimes I have to be extra creative in my setup of it. It would be much easier if there was a ...
7
votes
4answers
921 views

Map with explaining pictures

I try to achive something like this: It is a photo I made in the local zoo. Sorry for the poor quality. I like the idea of a map containing explaining images and try to do the same with beamer. ...
9
votes
1answer
713 views

Placing anchor before and after text in multipart rectangle

In the following graph, i would like the arrows to be originated inside the box and not in the border, possibly aligned and next to the text (for example, right after the word "Pointer:". Here is ...
5
votes
1answer
372 views

Connecting normal lines with decorated ones

I've got a problem, I've tried it a lot and I've investigated about it but I haven't found the answer. I've got a code like this.... \documentclass{article} \usepackage{tikz} ...
2
votes
1answer
105 views

TikZ: lineto to a just created node

Often, when drawing diagrams with TikZ, I’d like link nodes by edges just as I draw them. But when doing it the naive way, e.g. \draw (0,0) node {A} -- (1,0) node {B}; the line intersects with the ...
16
votes
3answers
12k views

TikZ: Using Loop to Draw Grid of Nodes

I am trying to draw an Ising model (in my case, a grid of nodes with an undirected edge between adjacent nodes on the same row or column) using TikZ. I have the grid of nodes working nicely using a ...
5
votes
1answer
2k views

Gradient color on TikZ tree

Mindmap creates connection line composed of the parent/child colors. Is it possible to apply such effect on normal parent/child trees to connect the parent and child nodes with a gradient of their ...
2
votes
2answers
421 views

Declare the point for incomming arrows on nodes

is there a way to tell the a node, where the arrow shall arrive? At this example, the Arrow from Node B to A should arrive exactly in the middle of the "D" from "Dies". It should start on top-center ...
5
votes
1answer
503 views

How to connect different own TikZ macros together + default names of node

I will ask you for solution about a little bit more complex problem. Maybe it isn't so hard as it seems to be but, for me it is hard one. Let's say that i want to create four own macros \objecta, ...
5
votes
2answers
2k views

TikZ-tree: edge-alignment in horizontal org-chart

I'm working on some sort of org-chart/hierarchy-tree and ran into issues with the edge-alignment. As a guideline I used the family-tree-TeXample. See the TeX.sx-dicussion here. However, the text in ...