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.

Filter by
Sorted by
Tagged with
45 votes
1 answer
96k views

Draw a graph in Latex with Tikz

I am interested in outputting this graph in latex using tikz: So far I got this: and my tikz code is \begin{tikzpicture} \node[shape=circle,draw=black] (A) at (0,0) {A}; \node[shape=...
user avatar
  • 887
38 votes
2 answers
5k views

TikZ: What EXACTLY does the the |- notation for arrows do?

I am currently trying to work out how the perpendicular arrows work, and I fail. Taking: \draw [arrow] (node1) -- node[sloped, above] {Caption} (node1 |- node2.north west); I suspected that the ...
user avatar
  • 527
35 votes
3 answers
22k views

Fancy arrows with TikZ

I would like to draw an arrow like this using TikZ: This is taken from Workflow diagram. I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't ...
user avatar
  • 8,002
25 votes
2 answers
2k views

Customizing \fill and line in TikZ

How I can draw these (flexible) nodes and arrow? (as in this presentation) A MWE: \documentclass{beamer} \usepackage{tikz} \usetheme{CambridgeUS} \usetikzlibrary{calc} \usepackage[T1]{fontenc} \...
user avatar
  • 1,146
24 votes
3 answers
1k 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[-&...
user avatar
22 votes
1 answer
31k views

Changing line thickness of arrow

\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture} \draw[step=1cm,color=gray] (0,0) grid (3,3); \draw[draw=black,solid, -triangle 90,fill=...
user avatar
21 votes
3 answers
10k views

How to make an arrow from a node to itself have a nice arc?

Consider the following network: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{arrows,shapes,snakes,automata,backgrounds,petri} \begin{document} \begin{tikzpicture}[node distance=1....
user avatar
21 votes
2 answers
34k views

Adjusting the size of an arrow

I would like to make the width of an arrowhead larger. Is there a simple way to do this without defining a new arrowhead type? For instance, I would like to be able to write something like \draw[->,...
user avatar
  • 1,133
19 votes
3 answers
2k views

Replicating a simple diagram in Knuth's book using TikZ

Despite the many attempts to draw this simple flowchart, I didn't really know how to do the following: Drawing a start arrow (as the one before A1) Drawing an end arrow (as the one after A2 and A7) ...
user avatar
18 votes
3 answers
6k views

How to make "L" shaped arrows with curved edge

I simplified this example from here, however what I am looking is an "L" shaped arrow that curves when it gets to the same height as A which can be seen in the below figure. The red curve is the one ...
user avatar
  • 1,485
18 votes
1 answer
14k views

How can I add offsets to coordinates in tikz?

I’m trying to add offsets to two coordinates with tikz like this: \draw[line width=4] (coorda) ++(0.3pt,0) -- (coordb) ++(-0.3pt,0); The first ++ instruction works just fine, but the second one has ...
user avatar
  • 1,469
18 votes
1 answer
19k views

Package pgf Error: Unknown arrow tip kind 'latex’' \path (

I'm following the PGF 3.0.0 manual, and I have PGF 3.0.0 installed. In the manual, the example is under 20. Matrices and Alignment -> 20.6 Examples. I get errors for all the \path statements in the ...
user avatar
17 votes
2 answers
10k views

How to make all nodes same size in TikZ?

I'm draw a TikZ figure, but I came across two problems. First one is that all the nodes have the different size due to the size of the text inside the nodes. I read in some other question here, that ...
user avatar
  • 777
17 votes
1 answer
783 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
user avatar
  • 405
16 votes
3 answers
1k views

Drawing circular arrows in tikz to represent turns in a T-intersection

This is what I would like to get, a graphical representation of all possible turns in a T-intersection: This is what I have: My current graph doesn't look very nice: the arc curves are weird; they ...
user avatar
16 votes
1 answer
24k views

TikZ arrow positioning

With help of you I could get started with TikZ and create this image: Because I want to explain the double arrow part (HIS <-> Processing) better, I want to extend the "HIS" block and split this ...
user avatar
16 votes
1 answer
986 views

TikZ, arrow, looking for ++++++> style

I'm wondering if it's possible to draw, by \tikzstyle, this style of arrow : +++++>. Thanks, Simon
user avatar
  • 163
16 votes
2 answers
2k views

How can I improve the look of an arrowhead at the end of a small-radius arc?

Arrow heads added to arches with small radius look ugly, they do not look symmetrical. Here is an example : \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \...
user avatar
  • 837
16 votes
2 answers
13k views

Write easily a TIKZ flowchart

I created a npm package to write easily a TIKZ flowchart. Flowtex facilitates maintenance of a flowchart. Such as the insertion of new nodes or the positioning of the nodes as a function of others. I ...
user avatar
16 votes
3 answers
8k views

Double arrow in TikZ?

I'm trying to draw two arrows between nodes as follows: A ------> B <--/--- The arrows should be parallel, in opposite directions but not on top of each other. (I can bend the arrows but ...
user avatar
  • 161
15 votes
4 answers
26k views

Double-headed arrows

Is it possible to get TikZ-arrows to draw double-headed arrows? What I'm looking for is a way to achieve \draw[-triangle 90 triangle 90] (A) -- (B); and the open triangle equivalent, in the way ...
user avatar
  • 253
15 votes
3 answers
2k views

How do you make nodes form a perfect circle?

This is the code, and I can create a diamond shape or a sketchy curved shape, but I would like the nodes to be aligned to a circle shape. % Author: Paul Henckel, 2015 % Inspired by: Rasmus Pank ...
user avatar
  • 265
15 votes
3 answers
1k views

Tikz-diagram: Additional right angle and space

I'm trying to recreate this diagram: Mine already looks pretty good but the connection between the Environment and Sensornode lacks the 2nd right angle and space for the measured by text. How can I ...
user avatar
  • 889
15 votes
5 answers
593 views

How to draw parts of a line dotted with TikZ?

I want to create a straight line between two nodes in a tikzpicture interrupted in the middle by a dotted portion. This should work whatever the orientation of the line. Here is an expected output: ...
user avatar
15 votes
1 answer
3k views

How can I draw a semi-transparent arrow in TikZ without internal overlap?

Drawing a semi-transparent arrow should be easy enough, right? \documentclass{article} \usepackage{tikz} %\usetikzlibrary{arrows} % this doesn't change the result \pagenumbering{gobble} \begin{...
user avatar
  • 2,989
15 votes
1 answer
278 views

Late time consequences of nonlinear transformations

I am really puzzled about the impacts or side-effects of the nonlinear transformations. Consider the MWE \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{arrows.meta} \usepgfmodule{...
user avatar
15 votes
1 answer
16k views

arrow style with arrows.meta library

I'm ready to style arrows using arrows.meta library, though I haven't found any documentation with predefined arrow styles syntax. The only one I know is Stealth: \documentclass{article} \usepackage{...
user avatar
  • 181
14 votes
1 answer
8k views

How can I tikz the equivalence (i.e. $\Leftrightarrow$) as arrow?

I found in the manual that implies is the right kind of arrow tip, so I tried \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[>=latex] \...
user avatar
14 votes
1 answer
2k views

How to draw a (colored) arrow on a path?

I tried to draw a path and a curve length marker. This is the desired result: This would be easy if the curve was defined as a function, then I'd just set the domain, add some markers, done. But what ...
user avatar
  • 1,009
13 votes
4 answers
948 views

Represent schematically using the tikz package a "commutative" diagram where two of the "arrows" are circular loops

Consider the diagram where the clockwise circular arrows indicate $M_{f^t}$ has a structure inherited from the structure of the R-module $\mathscr{D}_{n,k}[t]. I have tried to duplicate it as follows ...
user avatar
  • 265
13 votes
1 answer
4k views

Custom Tikz arrowhead with bar before triangle 45

How do I make a custom arrowhead in Tikz having a perpendicular bar before a triangle 45? I would also like to adapt this solution to a bar before a square, open square, etc. For example, imagine ...
user avatar
  • 16.7k
13 votes
1 answer
646 views

Why does PGF require the designer of a new arrow tip kind to explicitly specify the arrow tip's convex hull?

According to the 'Defining New Arrow Tip Kinds' chapter of the TikZ & PGF manual for version 3.0.1a (p. 1016), one of the parameters that must be specified every time a new arrow tip kind is ...
user avatar
  • 8,784
13 votes
2 answers
4k views

3D arrows with TikZ

Asymptote does give 3D arrows when drawing three dimensional figures (they even have shade!). Could we fake it with TikZ? Here's an example, manually written, with just one arrow worked: \...
user avatar
  • 26.4k
13 votes
1 answer
19k views

Center a text above and under an arrow in a tikz picture

I am trying to draw a flow diagram and I am having some trouble getting the details right. For now, my code looks like this: % Define block styles \tikzstyle{block} = [rectangle, draw, fill=red!40, ...
user avatar
13 votes
4 answers
9k views

How to use the node distance to offset the start and/or end of an arrow with TikZ?

I want to draw an arrow where one of the end points is not actually attached to another node, and I want the length of the arrow to take into account the node distance of the node to which the arrow ...
user avatar
  • 16.4k
13 votes
3 answers
43k views

Drawing undirected graphs in LaTeX

I came across this graph in the question Drawing graphs in LaTeX: without arrows? Is it possible to draw graphs like this one in LaTeX but without the arrows? edit: I found this piece below, but ...
user avatar
  • 313
13 votes
2 answers
753 views

\tikzcdset{arrow style=math font} breaks the rendering of arrows

The command \tikzcdset{arrow style=math font} seems to break the rendering of arrows with the package tikz-cd, whatever math font is chosen: \documentclass{article} \usepackage{unicode-math} \...
user avatar
12 votes
3 answers
1k views

Defining a custom TikZ arrowtip (circle with plus)

I need to design a custom arrowtip in TikZ, but so far I haven't had much luck. I have been able to define a circle arrow with the arrows meta library, but I cannot figure out how to add the plus sign ...
user avatar
  • 283
12 votes
2 answers
306 views

L-shaped arrows for diagram (tikz/latex)

If someone could tell me how to draw L-shaped arrows with text inside (as in the image attached)? I'm using node for normal arrows but I don't know how to make them L-shaped. My code so far: \...
user avatar
  • 121
12 votes
1 answer
11k views

Label Arrow with tikz

This is a super simple problem, but I can't figure out how to add a label to an arrow between two nodes. Right now, the code I have seems to add an extra node in between the nodes I wish to connect ...
user avatar
  • 223
12 votes
1 answer
1k views

Combination of arrows with and without label

Suppose that an arrow can be With one head (o), two heads (t), or "squiggly" (g), Single-lined (s) or double-lined (d), With (w) or without (o) a label (i.e., text above) Some of those arrows are ...
user avatar
  • 4,710
12 votes
1 answer
1k views

Single arrow with heads on both sides pointing in same direction

Please consider the following example of an arrow I would like to draw in a tikzpicture-environment: My MWE draws a single arrow but only with one head. Does anyone know how I can add a second head ...
user avatar
  • 1,893
11 votes
2 answers
17k views

Draw ellipsis (three dots) between nodes in tikz

I am beginning to learn tikz to draw a simple graph. I would like to represent the idea that there are N nodes by drawing something like this: How can I draw an ellipsis: ... between the two nodes? ...
user avatar
  • 1,527
11 votes
4 answers
2k views

Tikz Edge: Distance from other nodes?

I have the following Tikz code: \usetikzlibrary{positioning} \begin{tikzpicture} \tikzstyle{bordered} = [draw,thick,inner sep=5,minimum size=10,minimum width=100,font=\sffamily] \tikzstyle{...
user avatar
  • 255
11 votes
1 answer
25k views

Artin's squiggly arrow? [duplicate]

Is there a package containing the squiggly arrow that Artin uses in his Algebra text? It looks like: I've seen some of the options using tikz on here, but they aren't quite the same.
user avatar
11 votes
2 answers
824 views

Can somebody help me to draw this scheme using tikz trees, please?

I want to draw this scheme so I made this code \begin{tikzpicture}[ every node/.style = {shape=rectangle, rounded corners, draw, font=\small, align=center, fill=white}, ...
user avatar
11 votes
4 answers
2k views

Position arrow decoration by center, not by tip

I have lots of curves, each of which I would like to decorate with an arrow precisely at the centre. Here is a simple attempt to do this with TikZ: \documentclass{article} \usepackage{tikz} \...
user avatar
  • 10.4k
11 votes
2 answers
2k views

Make stealth horizontal in TikZ?

\documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{backgrounds, calc, positioning, fit} \begin{document} \begin{tikzpicture} \node[draw] (a) {A node}; \node[draw,align=center]...
user avatar
11 votes
1 answer
651 views

Increase the arc in a TikZ arrow

This question is a spin-off from TikZ arrow misaligned in italicized text. I'm drawing an arrow from one character to another within a word, using TikZ's \path edge[]. But the arrow's arc is so flat ...
user avatar
  • 19.8k
11 votes
2 answers
3k views

tikz: How to place an arrow with label exactly in the middle of a line?

In the following example, the label is in the middle of the line. But the arrow, which acts as a marker, is not in the middle. Only its head but not the center of the arrow. \documentclass{article} \...
user avatar
  • 165

1
2 3 4 5
36