Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [tikz-chains]

{tikz-chains} concerns the TikZ-pgf library chains

Filter by
Sorted by
Tagged with
3 votes
2 answers
168 views

Add label onto chain join arrow lines

I would like to add some labels onto chain join arrow lines. Any command can be added to join styles with labels? \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,arrows.meta,...
lucky1928's user avatar
  • 4,179
2 votes
2 answers
82 views

Draw sequence of coloured rectangled fix-length bit-strings

The following code will draw a sequence of length 2 bit-strings: \documentclass[tikz]{standalone} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ 2-bin helper/.code 2 args={#1 #2}, 2-...
user1868607's user avatar
1 vote
1 answer
90 views

How can I label points in a timeline?

Building on the nice answer to this question, I would like to modify the boxes right to the timeline to show a label (instead of the year) that I would like to specify right after the text of each ...
bolzep's user avatar
  • 43
3 votes
1 answer
58 views

Chain of nodes connected by join macro in table cell

MWE: \documentclass{article} \usepackage{tabularray} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, positioning} \begin{document} \tikzset{ node ...
Zarko's user avatar
  • 298k
0 votes
2 answers
89 views

Adjusting node colors in (beamer) tikz chain

In reference to this question and answer posted here, Modifying a timeline in beamer, how do I adjust this code to allow for different colored nodes? As an example, as time passes and events go by, I'...
Mat's user avatar
  • 3
1 vote
3 answers
215 views

Difficult hexagon chain

I’m trying to draw this path graph of hexagons but it is disconnected beginning at a certain hexagon and then continues to the next. I know how to create the hexagon path graph and have created ...
phys's user avatar
  • 49
3 votes
2 answers
121 views

How to break/pause and continue chain

I need to illustrate a linked list and the addition of one element is there any way I can stop and continue the foreach loop or pause the chain so it doesn't connect elements 5 and 6 for example? \...
user287102's user avatar
2 votes
2 answers
265 views

Tikz - How to chain nested nodes

I have recently started using tikz and discovered that you can both chain nodes and nest them using the chain and fit libraries. I have done both successfully: Fit: \begin{tikzpicture}[node distance = ...
Andreas Forslöw's user avatar
2 votes
2 answers
193 views

Tikz diagram with matrix and chains

I'm learning how to draw diagrams with tikz I found valuable examples in texample.net, they are free to use, and most authors are very active in tex.stackexchange.com I downloaded this "Example: ...
user avatar
4 votes
1 answer
293 views

Drawing a structure diagram with TikZ chains

I want to draw a structure diagram with TiKZ and the chains library. See example: I'm missing to find a solution for the middle part. There are three elements with text inside. Each element is 30% of ...
qbi's user avatar
  • 2,070
0 votes
1 answer
50 views

How to draw three chains in relation to each other?

I want to draw the following: This question is related but I can't infer from its answer How to draw to independent chains?
user85361's user avatar
  • 235
1 vote
1 answer
116 views

How to connect three chains together in tikz?

How to connect three chains? I want to draw the following diagram using tikz: . Unfortunately, in my system, compilation of the following code doesn't finish. How to draw the above diagram using ...
user85361's user avatar
  • 235
0 votes
1 answer
80 views

How can I add these 3 chains horizontally before a section?

I have added a background image in my document and also added pgfornaments in the borders of the document. But the texts aren't starting from the proper place. Also, I am trying to add five ...
Montasir Ahmed's user avatar
1 vote
1 answer
66 views

Adressing a node in a foreach tikz chain

Connecting 2 nodes with each other is easy. I have this one cyan node connected with a round node X. Now I have a chain consisting of circle nodes and I want to connect the magenta node box with for ...
Roland's user avatar
  • 6,675
3 votes
1 answer
231 views

TikZ - draw multiple bit strings/arrays

I'm trying to draw multiple bit strings below and next to each other. Unfortunately, my current solution does not what I want. I've created a single bit string but adding another one next to it leads ...
joni's user avatar
  • 57
2 votes
2 answers
322 views

TikZ: Robust and automated creation of signal-flow graph (parallel form)

Following up on my previous question, I would like to know how I can automatically and robustly create the parallel form of a signal-flow diagram for the following without manual drawing of the lines/...
Diaa's user avatar
  • 9,649
1 vote
1 answer
303 views

Combinations of chains

I've just started to use the chain library. I want to show 3 levels of comprehension with each chain chain 1. Initial fields chain 2. Explanation chain 3. Images At some point in my document, I ...
JeT's user avatar
  • 3,525
1 vote
1 answer
42 views

adjust branch distance equally by borders

After reading this SO, I try below example but the distance between branches is calculated center by center now. how can I improve it to put 3 branches equally distributed border by border? \...
lucky1928's user avatar
  • 4,179
1 vote
1 answer
141 views

Centering multiple nodes below another, connect with multiple arrows

I'm in the process of learning tikz for creating diagrams, and wish to recreate the following (but with the text in B* rotated): Thus far I have the following: \documentclass{standalone} \usepackage{...
Tmplt's user avatar
  • 65
1 vote
1 answer
222 views

Multiple tikz chain alignement

I would like to display this result : This is my code : \begin{tikzpicture} \begin{scope}[start chain=1 going below, start chain=2 going right, start chain=3 going right] \node[on chain=1] (...
an1052's user avatar
  • 13
2 votes
2 answers
533 views

How to draw the diamond structure using `chains`?

I am using chains to re-draw the structure (shown below) in Second isomorphism theorem(wiki). The code and the resulting figure is shown as follows. How to get rid of the dummy node (added for ...
hengxin's user avatar
  • 2,381
1 vote
2 answers
222 views

How to place nodes around a circle from some initial angle?

The code below generates 6 nodes placed around a circle at angles 60, 120, 180, ..., 360 with labels 1, 2, 3, ..., 6, respectively. However, I would like to place these 6 nodes in the way (where the ...
hengxin's user avatar
  • 2,381
1 vote
1 answer
109 views

chain conflict with pgfdeclarelayer

See this example: \documentclass[tikz]{standalone} \usetikzlibrary{chains,scopes} \begin{document} \begin{tikzpicture}[node distance=0 and 0] \pgfdeclarelayer{background} % comment this line works {[...
lucky1928's user avatar
  • 4,179
2 votes
1 answer
405 views

Package tikz Error: Unknown chain ``chain''

I'm trying to compile the first example from Section 46.2 "Starting and Continuing a Chain" of the pgfmanual v3.0.1a (p. 541): \begin{tikzpicture}[start chain] % The chain is called just "chain" \...
user2740's user avatar
  • 493
2 votes
1 answer
485 views

Customize a layered block diagram

I have a diagram where layers of blocks are stacked on top of each other as shown in the image. Using this code: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \...
MLister's user avatar
  • 135
4 votes
2 answers
926 views

Tikz chains with broken arrow joins

I am trying to write a rather long workflow diagram so with will zigzag back and forth. For personal preference of esthetics, I would like to have some of the join arrow broken rather than straight. ...
ArTourter's user avatar
  • 17.4k
3 votes
2 answers
111 views

The node positions in chain changed unexpectedly

As shown below, the node positions have been changed when using chain. How to fix it? \documentclass[tikz]{standalone} \usetikzlibrary{positioning, chains} \begin{document} \begin{tikzpicture}[...
hengxin's user avatar
  • 2,381
2 votes
1 answer
302 views

Use matrix and chains in beamer animation

I am trying to use beamer to generate a gif like this I am able to get it working with \node and \draw with the following code \documentclass[border=5mm, usenames, dvipsnames]{beamer} \usepackage{...
Eric Sun's user avatar
  • 401
1 vote
1 answer
37 views

How to suppress a join edge in chains when using foreach?

How to remove/suppress the edge from node 3 to node 4 in the following code using chains and join? Do I have to split the foreach into two smaller ones? \documentclass[tikz]{standalone} \...
hengxin's user avatar
  • 2,381
3 votes
2 answers
256 views

Tikz zig-zag diagram with nodes of increasing size

I am trying to achieve this: From this tikz example I was able to get a straight line quite easily. I've tried adapting it using this other tikz example, but unfortunately it has not come out well - ...
angrydust's user avatar
  • 458
3 votes
1 answer
534 views

Tikz: Nested Boxes Alignment

I am trying to make a figure which looks something like this (rows of boxes of differing size and alignments, with text inside) using Tikz. I have spent some time investigating different methods, ...
Prunus Persica's user avatar
8 votes
2 answers
343 views

Is there a sane way to visualize a division in "german style"

I need to visualize divisions in "german style". I managed to do it with TikZ, but it's a hard job! \documentclass[parskip=half]{scrreprt} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \...
Josef's user avatar
  • 7,422
4 votes
1 answer
593 views

TikZ Crow's Foot notation on only one side for documentation

I'm documenting the different versions of database drawing styles. this link shows how it looks like in a real diagram but my intention is to document only one side of the connection lines. Now the ...
novski's user avatar
  • 1,039
2 votes
1 answer
580 views

Is possible to discontinue chain of nodes?

For example, the image: can be drawn with following MWE: \documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{chains, positioning} \begin{document} \begin{tikzpicture}[ node ...
Zarko's user avatar
  • 298k
2 votes
1 answer
1k views

TikZ: How to draw a flow chart using library chains and matrix of nodes?

In this MWE of a flowchart, it doesn't compile when \chainin command is used and I need to understand the following: align=center doesn't center the content of the node, for example, (m-2-1). How can ...
Diaa's user avatar
  • 9,649
1 vote
1 answer
171 views

Using chain package from tikz in TeXLive 2015 as standalone

I'm trying to include a simple example of chain usage from tikz into my document compiled with TeXLive. The problem is, when I try to create a chain, compilation error occurs: Package standalone ...
Charlie's user avatar
  • 135
3 votes
1 answer
497 views

Tikz chain with circles, lines and line breaks

I am trying to draw something like this. I have tried tikz but I cannot cut the line between two points. Also, I cannot obtain the first column with the Year. Any suggestions? This is what I have so ...
Rebecca's user avatar
  • 33
4 votes
1 answer
367 views

Using coordinates of one tikzpicture in another

In the attached picture I have two side-by-side tikzpicture, and I wish to use the vertical coordinates of the red dots in the left tikzpicture on the right one. What is the correct way to do so? (My ...
AvidLearner's user avatar
6 votes
3 answers
2k views

Tikz space between chains

I'm trying to play with tikz and chains, but I have some troubles when I deal with several chains. How could I position the chains each others ? For example in the following example, I position the ...
tobiasBora's user avatar
  • 8,804
2 votes
1 answer
484 views

How to make \pgfdeclareshape independent of initial coordinates?

I'm using a tikz package created by a colleague for drawing block diagrams. He declared basic shapes for the blocks using pgf. But it does not entirely work as intended and I'm trying to fix it. ...
Robert Seifert's user avatar
1 vote
1 answer
323 views

Origination and destination of lines in TikZ matrix with chains

I'm trying to visualise a Markov chain and after some research used a matrix with chains. This works quite will, but I can't get to originate and terminate the lines where I want them. Here my code, ...
Patrick's user avatar
  • 117
0 votes
1 answer
2k views

How could I add dots at my graph at the end

I would like to add dots end of my graph which shows going to infinite. However, I try several times, and it does not works. The problem is the code with **, other parts are correct. Thanks My code is ...
dorothy's user avatar
4 votes
2 answers
489 views

Two chain graph with tikz

This is what I'm trying to draw: I was able to draw this graph (code below): But I am not able to create another change above the first one, nor "labeling" the nodes with other nodes. Any ideas? ...
AvidLearner's user avatar
2 votes
2 answers
352 views

With continue chain, how to achieve absolute node positioning?

My problem is that I want to draw several horizontal "layers" of nodes (implemented as chains), with connections between them. When I try to position a node absolutely, it is additionally offset in ...
hans_meine's user avatar
2 votes
1 answer
1k views

Undefined control sequence \pgfmath@ in \node with text height or text depth

The below file gives this error when compiled with pdflatex (from TeX Live 2015). How do I fix it, and what have I done wrong? Error \pgfmath@dimen@ ...men@@ #1=0.0pt\relax \pgfmath@ l.27 ......
Sam's user avatar
  • 135
0 votes
2 answers
261 views

Combining Tikz concepts/librarys to draw a complex picture with relative alignment/distances

I think all of the problems has been asked by me or others in the past. But my over all problem is that I am not able to combine all this solutions to the real picture I want to draw. Normally it is ...
buhtz's user avatar
  • 1,178
3 votes
2 answers
1k views

Horizontal fixing of Tikz nodes

(Please feel free to offer a better and more precise subject title.) I have two vertical chains with different count of nodes in it. But I want to visualize that some nodes of the right belong to one ...
buhtz's user avatar
  • 1,178
1 vote
1 answer
995 views

Join multiple tikz-chains (with different lengths) into one last node at their end

I have multiple vertical chains of different lengths (node count). I want all these chains at the end coming together into one last node. How could I do that? \documentclass{article} \usepackage{...
buhtz's user avatar
  • 1,178
3 votes
1 answer
552 views

Adjust horizontal space between vertical TiKz-chains the elegant way

The example below work and looks ok. But I think about if there is a more elegant/generic/tikz way to manipulate the space between different chains. Elegant here means, that it would be nice to ...
buhtz's user avatar
  • 1,178
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,782