Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tikz-arrows]

{tikz-arrows} is about questions related to the arrow head specifications in the arrows library of the TikZ/PGF graphics package. If the question is not specifically addressing an issue related to the arrow construction, use the general {tikz-pgf} tag.

1
vote
2answers
54 views

Arrows to explain table header

In this StackOverflow answer we can see the diagram below. I'd like to know how to do this in Tikz. I'd rather not have the boxes and have arrows pointing towards the values right below the headers, ...
3
votes
2answers
299 views

Draw arrow on sides of triangle

MWE: \documentclass[12pt]{article} \usepackage{pgf} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \draw [line width=1pt] (0,5)-- (0,0); \draw [line width=...
4
votes
1answer
245 views

how to write weight parallel to edge?

In the following graph edge weight by default is written as horizontally, I want to write weight value parallel to edge between two nodes. How may I write weight value parallel to the edge between ...
2
votes
1answer
31 views

tikzcd environment: error in double/parallel arrow?

\documentclass{beamer} \usepackage{tikz-cd} \usetikzlibrary{matrix} \begin{document} \begin{frame}[fragile] \begin{center} \begin{tikzcd}[row sep=2.3cm, column sep = 2.3cm] A\arrow{r}{e}\arrow{d}[...
4
votes
1answer
28 views

How to bend text so that it follows the curves of a Venn diagram

I need to make "class A", "class B", "class C" follow the curves of the circles immediately containing them: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \...
2
votes
1answer
46 views

3D rotated coordinate system on the interaction point of a line and an arc in Tikz

I want to draw a 3D (rotational) Cartesian coordinate system as shown in the attached figure. As a new user of TikZ, I stuck on the following points: 1) How to plot two arcs with same center and ...
2
votes
2answers
51 views

Petrinet : Merge arrows in TikZ

After incorporating the suggestions from TikZ experts, I have achieved the following: I have used anchors available on the nodes. But the arrows are not merged. I have consulted answers like: Merge ...
9
votes
2answers
519 views

Better way to make this picture of sequence with arrows

I created this picture with very basic TikZ components and the code looks a bit messy, is there a more elegant way to do this? And secondly, is there a way to put dots at the stubs of the arrows in ...
0
votes
1answer
49 views

Wrong position of arrows in Tikz with pgfplots version 1.3

I use the following code to draw an arrow in Tikz with \pgfplotsset{compat = 1.3}: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat = 1.3} \begin{document} \begin{tikzpicture}...
4
votes
1answer
42 views

Draw arrows with multiple lengths

I'm currently facing a problem with drawing arrows in a diagram. I have currently a few arrows in online, I want a second arrow below which spans over all the objects in the line above. My code looks ...
1
vote
1answer
25 views

How to eliminate the arrows on this Cayley Graph

I am trying to do the next graph, but without using arrows: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{lindenmayersystems,arrows.meta} \newcount\quadrant \...
0
votes
1answer
60 views

tikz arrow tips, or a symbol with ->|, |-<, <-i shape, for the enter, indentation and de-indentation keys on the keyboard

The grammar of Python and other languages that use indentation for blocking, includes derivation such as Block ::= NewLine Indent Statemetns DeIndent I would like to write such a rule in my document....
2
votes
1answer
65 views

Greek alphabet not displayed correctly in tikzpicture mode

I'm using the package TikZ to make a timeline with arrows and text pointing to certain ticks. (\begin{tikzpicture}...) The text I have inside the \addmilestone{...} environment contains the Greek ...
0
votes
1answer
30 views

How to edit this table format?

How to change tables to be below each other like a column format with rotating the arrow 90 \documentclass[english]{IEEEtran} \usepackage{array} \renewcommand{\arraystretch}{1.2} \newcolumntype{C}{&...
1
vote
1answer
35 views

Boldface arrows in tikzcd

I want to make some of the arrows in my tikzcd diagram bold, but not all of them. How? Say, just the horizontal arrows in the following MWE: \documentclass{article} \usepackage[utf8]{inputenc} \...
6
votes
2answers
126 views

Problem with Round Cap arrow tip and [blank=soft] option (from hobby TikZ library)

I've just found out the Round Cap arrow tip and I wanted to use it to improve a previous answer of mine. But it doesn't do what I need if there is a [blank=soft] option (from TikZlibrary hobby) in a ...
2
votes
1answer
27 views

Create separate double arrows as edge of a tree

I'd like to create a tree with edges made from two separate arrows as shown in picture: But I don't know how to change the edge to 'two separate arrows for each edge' Currently, I could only do the ...
1
vote
1answer
45 views

Is there an efficient way to edit the following UML

I tried to make a UML diagram using I strive in searching to make it looks good. Here is my code, sorry if there are errors (as I am a new learner to TIKZ package) but it should still work if u just ...
1
vote
2answers
69 views

tikz Neural Net Arrows

Can anyone pinpoint the issue here why I can't seem to make the arrows only one directional (->) between the input layer and the hidden layer, rather than bi-directional: \begin{tikzpicture}[...
2
votes
1answer
43 views

How to draw multiple curved arrowheads

I try to use tikz to draw the arrows like the blue ones, but so far I can draw only the red one and it is not as expected. Here my code so far, it is time consuming so please if anyone has better ...
1
vote
2answers
127 views

Tikz - cannot figure out why my lines won't connect

I cannot figure out why my code doesn't compile into the attached image, not sure if I am missing something in how Tikz works or there's another issue: Code \begin{tikzpicture} \node[shape=...
9
votes
4answers
440 views

Is there any efficient way to add cell identifier to each cell in TikZ?

I made a grid with TikZ. I would like to add the cell number in each cell (in the middle of each cell), I used this command \draw (-4,2.5) node[below] {$Z_1$}; But this solution is time consuming. ...
0
votes
1answer
47 views

Tikz table with reference

I need to draw a table with the same arrows. The reason I do not want to use the graphics software is that I need to add dynamic references inside the cells using latex. I would appreciate if ...
0
votes
1answer
40 views

Problem with arrow shape in flow chart in Latex

I am making a flow chart for poster in latex. Here is my code. My problem is that i am not getting arrow heads but only straight lines. Here is my code where i introduced my flow chart Here i ...
2
votes
1answer
56 views

How to draw this directed graph with tikz

I am new using Tikz, and I am trying to know how to draw graphs, my try is: \documentclass[11pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[y=.4cm, x=.4cm,font=\normalsize] \...
2
votes
1answer
83 views

Flowchart arrow for loop

I'm trying to make a flowchart for my code using latex using this code, \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{startstop} = [...
0
votes
0answers
22 views

Typing ordered pairs over arrows in a tikz-cd [duplicate]

When I try to type an ordered pair like (x,y) over an arrow in a tikz-cd I get the following error message: Missing \endcsname inserted. The code that works looks like this: \begin{tikzcd} ...
1
vote
1answer
72 views

Drawn 3D prism on tikz

What is the best strategy to recreate this figure in tikz? I would like to add some color gradient to the red "triangular" region (darker at the bottom and lighter on top). Also, the larger side of ...
4
votes
1answer
75 views

tikz - stealth arrow makes a drift in a curved line

A stealth arrow makes a drift in a curved line : \documentclass[tikz]{standalone} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw[thick,-stealth] ($(0,0)+(0:1.45)$) arc ...
3
votes
1answer
44 views

I need help restructuring some Tikz code

I am trying to render the commutative diagram below in such a way that the arrows u and v are reversed, but I'm not sure how to do that. Any help would be appreciated. \documentclass{standalone} \...
1
vote
1answer
68 views

How to draw a double head arrow between two points with label

I want to draw an arrow like this <---d--->, alongside a line going from x to y. Thanks.
1
vote
0answers
14 views

Getting double arrows in TiKZ even though a simple directed edge is required [duplicate]

Does someone know why I am getting a double arrow instead of a simple directed edge with the following use case scenario? How can I get a single arrowed edge instead? \documentclass{standalone} \...
3
votes
2answers
73 views

Tikz - Overlapping arrows make them too big

I'm pretty new to Tikz and I'm facing a little issue. I'd like to draw arrows that are overlapping, all going in same directions, but it's getting wider and wider and is pretty horrible. How could I ...
2
votes
2answers
107 views

Arrows along path in TikZ flowchart

Instead of drawing each arrow separately, I am interested in a quicker way to draw arrows along a path in a flowchart. Let's look at some code first, MWE: \documentclass{article} \usepackage[...
3
votes
1answer
62 views

tikz arrow heads in both ends [duplicate]

\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw [-] (0, 0) edge node[above] {$\epsilon_f$} (5, 0); \draw [<->] (1, -1) edge node[below] {$\epsilon_f$} (4, -1); \...
0
votes
0answers
47 views

How can I add arrows onto gnuplot contour plot?

I have a contour plot for a doublet flow, but I'm trying to add arrows onto the contour plots. \begin{axis}[ xshift=8cm, ticks = none, view={0}{90}, xmin = -1, ymin = -3, xmax = 5, ...
4
votes
2answers
133 views

Parallel arrows along a curve with tikz

I want to draw parallel arrows (for example 10 arrows) from a line to a curve. It is not good idea that dividing the line and curve to 10 parts and then join them to each other because of mathematical ...
3
votes
1answer
66 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} \...
0
votes
1answer
88 views

Creating Diagrams with Tikz? [duplicate]

I am still new to Tikz, and wondering how to make the diagram below using Tikz. Does anyone have any advice or know how to do this?
4
votes
2answers
177 views

Having arrows entering and leaving at different points on a single node

I wish to essentially remake the below image using TikZ, but with more colors and using a different language inside the boxes. I've tried the following: \documentclass[tikz]{standalone} \...
1
vote
1answer
40 views

inequality in commutative diagram using tikz

I am trying to draw a commutative diagram using tikz-cd, where one of the arrow is an inequality. I know equality arrows are \ar[equal], does anyone know how to draw inequality arrows? Many thanks in ...
3
votes
1answer
56 views

Tikz have multiple arrows enter the same node but not on the exact same place

I have an issue where I have multiple arrows which enter the same node, but they end up covering each other. How do I make one arrow enter the node at a different spot? I'd like the yellow arrows to ...
1
vote
1answer
77 views

Make a Tikz figure (a hypersurface figure made by Inkscape)

I am interested in drawing this figure through tikz: I made this figure myself though Inkscape. What is the best strategy to make this figure through tikz? Ans: The best way, for us, seems to be ...
3
votes
2answers
253 views

Arrows on edges of polygon

I would like to draw a regual 21 polygon, where the edges are labelled and have arrows in the middle. But I don't know how to get the arrows. This is what I have done so far \documentclass[border=5mm,...
1
vote
1answer
56 views

Adding two nodes in tikz besides each other?

I am new to tkiz, I need to generate a figure like in the attached a picture. Here is the Wml code for generating the left side of figure. How to add the right part with the arrow shown.?? \...
2
votes
2answers
124 views

How to draw “section-size” arrows using tikz

I searched for problems like this, but couldn't find any approach. Then, I don't believe this is a duplicated question. The question is: how to draw section-size arrow marks (like the one shown in ...
1
vote
1answer
58 views

Complicated curves intertwined in the link figures (II)

This is a more advanced question following an earlier one. I am struggled to draw these types of figures: There is a package called the knot library. So I am going to try the knot library out. But ...
2
votes
0answers
87 views

Complicated curves intertwined in the link figures (I): Unsolved Christmas tree decoration

I am struggled to draw these types of figures: I guessed there is a package called the knot library (just learned this thing exist 2 mins ago): So I am going to try the knot library out. But in case ...
23
votes
3answers
902 views

tikz — Snake like curves between straight lines

How do we draw a figure like this in tikz? I am able to draw the straight lines, but these curves are too challenging -- how to draw them nice? The minimal template is: \begin{tikzpicture} \draw[-&...
2
votes
3answers
48 views

How to draw lines that connect nodes in the axis environment?

I'm trying to draw arrowed lines that goes like (A) -> (A1) -> (A2) -> (A3), but my code doesn't work. \documentclass[11pt,a4paper]{article} \usepackage{geometry} \usepackage{tikz} \...