# Questions tagged [node-connections]

The tag has no usage guidance.

87 questions
1answer
37 views

### Lines connected the cells in organisation chart hard to be adjusted

I am working with preparation of proposal and currently deal with some issue in organisation chart in Latex. \usepackage[margin=3cm]{geometry} \usepackage[paper=portrait,pagesize]{typearea} \...
1answer
29 views

### LaTeX Tree Diagram

I'm trying to recreate the diagram on this website: http://www.njohnston.ca/2013/04/the-minimal-superpermutation-problem/ and am finding difficulty with joining all the nodes in the third row to a ...
1answer
22 views

### Compiling problem, connecting nodes thru edges is not working

I am having an issue when trying to connect the edges of some nodes (I am doing this on overleaf). If I only choose one of the nodes at the top and connect the edges with the nodes I intend to use on ...
1answer
50 views

### Line from Origin to Nodes at circles centers

I want to produce a figure like this: with this code: \begin{tikzpicture} \draw (0,0) circle [radius=10.75cm]; \draw (0,0) circle [radius=4.2cm]; \begin{scope}[even odd rule] \draw[fill=gray!20,...
1answer
60 views

### Make table with connections between different rows

I try to make the following table: And for this I made just a simple table \begin{longtable}{cccc cccc cccc cccc} {ho} & {ha} & {he} & {hi} & {bo} & {ba} & {be} &...
1answer
156 views

### How to make the design of this path in TikZ (Critical Path Method design)?

Please consider the following picture: I would like to create those nodes using the tikzpicture environment. Each must have a dividing line in the middle so that the node is divided into three ...
1answer
221 views

### flowchart tikz nodes and shapes

I am trying to replicate the following flowchart with the following code: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{...
2answers
410 views

### PGFplots: Vertical line attached to x-axis

I want to plot a small vertical line from y = 0 on certain x coordinates, connected to a node. However, the vertical line does not stick/connect correctly to the x-axis. \documentclass{scrreprt} ...
1answer
58 views

### How to shift overlaying lines that are created with pstricks?

I am using pstricks to connect entries of 4x4-matrices with lines, more precisely, I use \ncline{}{}to connect two elements of a given matrix, that I initiated with \Rnode{}{}. I iniated a 4x4-...
1answer
383 views

### Node anchor centre of line

If a node is defined as a circle and you want to use anchors (west and east) from the node to draw an arc around the node, how do you ensure that the arc is anchored about the centre (red line in ...
2answers
116 views

### connect to node shapes

i adjusted some code but now i reached my borders. i'd want to rotate the following shape with 90 degree, so it looks upwards afterwards. but my problem is to put the connection lines also from west ...
0answers
168 views

### Layer Recurrent Neural Network - Matlab design [closed]

I'm new to the Tikz package and I'm trying to get a better understanding of it by looking at several examples. However, I have not been able to reproduce the following diagram, as it is presented on ...
0answers
234 views

### Adding a new edge to Tikz graph breaks layout

Whilst laying out a flow diagram using Tikz algorithmic graphing capabilities, my code renders the following output (reasonably sufficient to convey the key ideas). Now, I intend to connect the 'no' ...
1answer
262 views

### Tikz - \graph command explicitly place one parent node below another parent node (connected to same child)

In the following Tikz flow diagram constructed specifically using the automatic placement of graphs using \graph construct (i.e. instead of placing nodes using the fit library), , how can I have ...
1answer
452 views

### TikZ: How to align node siblings with varying sibling distances?

I am trying to generate a simple diagram by using tikz. I couldn't figure it out how to set equal distance between sibling nodes to stop overlapping. The code that I have tried so far: \documentclass[...
0answers
28 views

### centered anchoring in TikZ automata [duplicate]

I am trying to draw an oriented regular polygon with TikZ/automata using the following code: \begin{tikzpicture}[shorten >=0.5pt, node distance=1.2 and 1.5, on grid,auto,>=stealth'] \def \p {10}...
1answer
158 views

### How to align node anchors on text?

I'm currently trying to realize an annotation on a TikZ plot, where I point out a limiting value (see picture below). \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw [...
1answer
465 views

### an edge connecting multiple nodes

I want to draw an edge that connects multiple nodes. I am able to achieve this using the ''to'' feature as shown in example below: \documentclass[convert={density=300,size=1080x800,outext=.png}]{ ...
1answer
424 views

### Arrows to Empty Space

I am trying model a network and is new to tikz. Please let me know how to can I draw node with some outgoing edges to somewhere as given in the image below. Any help is appreciated.
1answer
861 views

### Creating a (tensor) network using TikZ [duplicate]

I am trying to draw a very simple network diagram. My code: \begin{tikzpicture} \node[draw, shape=circle] (v0) at (0,0) {$v_0$}; \node[draw, shape=circle] (v1) at (1,0) {$v_1$}; \...
1answer
545 views

### How to connect both inputs of a nand gate to a same node?

Hi im trying to connect both inputs of a logic gate, to a batterry connected to ground. Im having a problem finding the information about the sintaxis of the logic gates, i have read the documentation ...
2answers
710 views

### how to connect these antennas wirelesslly?

I know the qustion in little strange, but i need to connect between these three antennas by wireless channel (with distance d as a name) and (what is the possible options) also whats is the possible ...
1answer
254 views

### Connect nodes with parallel arrows [duplicate]

My question is the same as this one. Since the solution there demands a lot of adjustments and computations, I'd like to know if there is some new tool with a more powerful and simpler solution. ...
1answer
93 views

### TikZ: wrong edge between split rectangles in graphs

Consider the following minimal example: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{graphs,graphdrawing,shapes.multipart} \usegdlibrary{trees} \begin{document} \tikz[every node/....
1answer
294 views

### Node positioning middle point mind map connection bar

I am beginning to work with mind maps using the mindmap library of TikZ. What I want is to place an annotation in the middle point of the bar connecting two nodes. The MWE below puts an annotation in ...
1answer
111 views

### Different approach?

I'm trying on my first tikz diagram, and it's working okay, but I've run into some problems and I think that my solution is starting to be more discretionary. Heres my code: \documentclass[png,...
1answer
152 views

### Tikz connecting nodes with draw to problem

I am trying to make a series of nodes that are all connected to each other in tikz. This is an MWE: \documentclass{standalone} \usepackage{tikz, pgfplots} \begin{document} \begin{tikzpicture} \...
1answer
235 views

### Smooth connection between tikz lines in foreach loop

I am trying to draw a diagram of a square wave. To do this easily I used a foreach loop to recreate a part several times. However, the flat line before and after the square wave pulse does not connect ...
3answers
473 views

### nodes vs coordinates. lines are drawn inside nodes

The plot tries to draw the joints and links of a robotic manipulator. Initially I defined the points for the joints as nodes and this resulted in some shift when lines were later drawn between them. ...
1answer
647 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!
2answers
3k 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 ...
1answer
508 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 ...
1answer
809 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: \documentclass[...
4answers
855 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 ...
2answers
264 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", "...
1answer
457 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} \...
2answers
285 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} \...
1answer
226 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 ...
0answers
70 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 ...
2answers
1k 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 ...
2answers
985 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 node[above]{1-...
1answer
3k 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], [...
1answer
358 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 ...
3answers
185 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 ...
1answer
129 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, decorations....
1answer
2k 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} \usepackage{...
1answer
255 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 ...
2answers
471 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" ...
2answers
796 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 = ...
3answers
661 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 = ...