Questions tagged [tikz-chains]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
36 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] (...
2
votes
2answers
275 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 ...
1
vote
2answers
109 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 ...
1
vote
1answer
40 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 {[...
1
vote
1answer
59 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" \...
2
votes
1answer
77 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} \...
3
votes
2answers
200 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. ...
3
votes
1answer
45 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}[...
2
votes
1answer
88 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{...
1
vote
1answer
24 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} \...
2
votes
1answer
104 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 - ...
3
votes
1answer
110 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, ...
6
votes
1answer
177 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} \...
3
votes
1answer
174 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 ...
2
votes
1answer
177 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 ...
2
votes
1answer
523 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 ...
1
vote
1answer
90 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 ...
3
votes
1answer
264 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 ...
4
votes
1answer
196 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 ...
5
votes
3answers
730 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 ...
2
votes
1answer
289 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. ...
1
vote
1answer
207 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, ...
0
votes
1answer
407 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 ...
4
votes
2answers
373 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? ...
2
votes
2answers
166 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 ...
2
votes
1answer
600 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 ......
0
votes
2answers
223 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 ...
3
votes
2answers
527 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 ...
1
vote
1answer
516 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{...
3
votes
1answer
338 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 ...
0
votes
0answers
61 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}}% \...
1
vote
1answer
187 views

Tikz - Overlaping border on adjoining nodes

I am having trouble obtaining a single border between two adjoining node shapes with tikz. When I use a thick border, it leads to an overlapping double border at the connection of two nodes. How ...
2
votes
1answer
429 views

typesetting chains of maps

Can anyone help me of how to construct this chain in Latex?
3
votes
1answer
284 views

Problem Causal Chain

I have been trying to make a causal chain, but I have two problems: 1) arrow should be a standard arrow without any curve "->". 2) There is a gap between the arrow and the boxes. My code look like ...
3
votes
3answers
335 views

Using loops with chains?

Is there a smarter way to achieve the same result as the one from the following MWE: 1) by using some kind of loop instead of hand typing every node, 2) by drawing the arrows with tikz instead of ...
2
votes
1answer
167 views

Horizontal tikz chain with labeled nodes is not aligned.

The chain seems to be properly aligned without the labels; adding labels seems to break it: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}...
5
votes
1answer
1k views

Simplify TiKz chain diagram

TiKz chain is amazing tool,I am reading Chains with labeled edges example. This example use matrix to place nodes, then use chain to connect it together. it's fine of course but I am thinking about ...
2
votes
1answer
321 views

drawing line pushes a chain below

I am trying to make a line that intersects a chain I already drew. However the drawing of the line pushes the chain below and they do not intersect. Can anybody help? I would like that the line ...
5
votes
4answers
644 views

TikZ chain nominate node location

I want to nominate node C4 at right of C1. so I have to define C1 before create C4. Below code seems has one extra line from C0 to C3. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{...
3
votes
1answer
665 views

Make a Sequence of Pictures with TikZ

Recently, I often want to illustrate graph algorithms through a sequence of pictures as in My current method to do this is to create a chain, and then place a nested tikzpicture in each node. As you ...
5
votes
1answer
256 views

How can I increase the size of integral inside tikz and the length of the arrow

Code: \documentclass[a4paper,10pt]{article} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{arrows,chains,positioning,scopes} % \makeatletter \tikzset{join/.code=\tikzset{after node path={% \...
0
votes
1answer
480 views

Problems labeling an arrow

Having this in the preamble: \usepackage{tikz} \usetikzlibrary{chains,shapes.multipart} \usetikzlibrary{scopes} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes,calc} \usetikzlibrary{...
3
votes
2answers
1k views

how to put a node below another in a chain

I have the following chain: \begin{tikzpicture}[start chain=going right,>=latex,node distance=0pt] \node[draw,rectangle,on chain,minimum size=1cm] (rr) {$I$}; \node[draw,rectangle,on ...
5
votes
1answer
1k views

Multi server queuing system using tikz

I need to have the server of this system \usepackage{graphicx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath} \usepackage{amsthm} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{...
4
votes
1answer
872 views

How to have label displayed on top of arrows in tikz

I have this tikz figure: \begin{figure} \centering \begin{tikzpicture}[start chain=going right,>=latex,node distance=0pt] \node[draw,rectangle,on chain,minimum size=1cm] (rr) {$I$}; ...
4
votes
0answers
646 views

Chains in nested tikz pictures

I am trying to draw a complex item (consisting of multiple \nodes) as a cohesive whole using a nested \tikzpicture. My outermost picture uses a chain, onto which every \node is put. My inner picture ...
2
votes
1answer
78 views

PGF’s \foreach can’t replace in [start chain=\here]?

Here in TikZ/PGF, I need two lines of dots to connect them later. – I make those dots with chains in a \foreach loop. But I can’t get the naming to work in the loop. The code below works, but ...
0
votes
1answer
156 views

tikzchainprevious undefined

I am using the following code for drawing a TikZ chain diagram: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary { arrows, chains, decorations....
2
votes
1answer
164 views

How to eliminate the gap in a chain?

In the following code, I used node distance=0 and outer sep=0 to position the nodes besides each other seamlessly. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{...
6
votes
1answer
1k views

Trying to get Tikz chains example working

I found a lovely example of chains diagramming here and have been trying to get it to work. I opened a fresh document on WriteLaTeX, here, and put in the minimal preamble for the chains drawing, ...