Skip to main content

Questions tagged [tikz-node]

{tikz-node} is about nodes in {diagrams} created using TikZ. A node typically consists of a shape which may or may not have a border and a filling, as well as some (text) content but it may also be empty. It can be connected with other nodes or parts of the diagram via edges.

Filter by
Sorted by
Tagged with
3 votes
4 answers
214 views

What I want to achieve is something as below(sorry for drawing in a hurry): The only requirements is vertical alignment(shown as the red dashed lines), the spacing of each nodes could be design, ...
Explorer's user avatar
  • 8,735
2 votes
1 answer
60 views

This is my code: \documentclass[margin=1mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[C/.style = {circle, draw, inner sep=5pt, node contents={}}] \node[shading = ...
user2379123's user avatar
2 votes
1 answer
107 views

I adapted cfr's solution from my previous question for the adjustment of dimensions from Tikz nodes and changed the text content of some nodes: \documentclass{standalone} \usepackage{tikz} \...
user2379123's user avatar
2 votes
1 answer
77 views

This is my code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes, positioning, arrows.meta, fit, calc} \usepackage{standalone} \begin{document} \begin{tikzpicture}[every ...
user2379123's user avatar
2 votes
3 answers
166 views

This is my code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes, positioning, arrows.meta, fit} \usepackage{standalone} \begin{document} \begin{tikzpicture}[every node/....
user2379123's user avatar
1 vote
1 answer
89 views

So, we can use tcolorbox's remember as key to remember the frame node of any tcolorbox, which we can subsequently use: \documentclass[a4paper, 11pt]{book} \usepackage[skins, breakable]{tcolorbox} \...
Grass's user avatar
  • 1,038
2 votes
1 answer
98 views

This is my code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes, positioning, arrows.meta, fit} \usepackage{standalone} \begin{document} \begin{tikzpicture}[every node/.style={...
user2379123's user avatar
2 votes
2 answers
116 views

We can define a command \long\def\ifnodedefinednTF#1#2#3{% \@ifundefined{pgf@sh@ns@#1}{#3}{#2}% } to check whether a TikZ node is defined, and execute code accordingly. This MWE works as intended:...
Grass's user avatar
  • 1,038
3 votes
5 answers
214 views

I have the following code: \documentclass[tikz,border=4pt]{standalone} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (P) [ matrix of nodes, nodes={circle,draw}, ...
Explorer's user avatar
  • 8,735
5 votes
1 answer
136 views

This message serves as a continuation of my previous two questions — № 1 & № 2. In the latter, the suggested solution was to create nodes that could be anchored directly to the box itself. I would ...
MacEvil's user avatar
  • 149
5 votes
3 answers
404 views

This is my code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes.geometric, positioning, fit, arrows.meta, quotes} \begin{document} \begin{tikzpicture}[every node/.style={draw,...
user2379123's user avatar
0 votes
1 answer
80 views

This is my code: \documentclass{standalone} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tcolorbox} \usepackage{tikz} \usetikzlibrary{shapes.geometric, positioning, fit, arrows.meta, quotes} \...
user2379123's user avatar
1 vote
1 answer
84 views

This is my code: \documentclass{standalone} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tcolorbox} \usepackage{tikz} \usetikzlibrary{shapes.geometric, positioning, fit, arrows.meta, quotes} \...
user2379123's user avatar
0 votes
1 answer
71 views

This is my code: \documentclass{standalone} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tcolorbox} \usepackage{tikz} \usetikzlibrary{shapes.geometric, positioning, fit, arrows.meta, quotes} \...
user2379123's user avatar
1 vote
1 answer
92 views

This is my code: \documentclass{standalone} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tikz} \usetikzlibrary{positioning, shapes, arrows.meta, fit} \begin{document} \begin{tikzpicture}[...
user2379123's user avatar
0 votes
1 answer
78 views

This is my code so far: \documentclass{standalone} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tikz} \usetikzlibrary{positioning, shapes, arrows.meta, fit} \pgfdeclarelayer{background} \...
user2379123's user avatar
2 votes
2 answers
126 views

This is my code so far: \documentclass{standalone} \usepackage{graphicx} \usepackage{amssymb, amsfonts, dsfont} \usepackage{tikz} \usetikzlibrary{positioning, shapes, arrows.meta} \begin{document} ...
user2379123's user avatar
3 votes
2 answers
116 views

TL;DR: How do I remove the ugly little thing under the red arrow? I would like to link an input to n outputs and have rounded S/Z arrows link them. However when the y coordinate of the output is to ...
Louis-Amand's user avatar
4 votes
0 answers
100 views

When a node is scaled with transform shape and scale, the anchor border no longer lines up with the background path. At first I thought this was a bug in my own code, but I now realize that "...
karlh's user avatar
  • 2,206
4 votes
1 answer
126 views

I have a tikz picture and some tikzmark nodes that are connected by lines. I want the lines not to touch the node content. Like this: But the code below produces this: I tried various things, which ...
Stefan Müller's user avatar
3 votes
1 answer
134 views

I have a MWE, but I'm not satisfied with the shape of the two arrows originating from C. I've looked through these examples (tikz-cd drawing arrow to another arrow, Arrow pointing at the middle of ...
David Collins's user avatar
2 votes
1 answer
100 views

My MWE has two arrows each pointing to a different arrow. I've found two ways of doing this, but I don't understand the difference. The arrow pointing towards some words actually points towards the ...
David Collins's user avatar
1 vote
0 answers
56 views

I recently posted the question: Adjusting formatting on second page only I've actually been able to figure it out to the point of the below code: \documentclass[11pt]{article} \usepackage[utf8]{...
Latex Learnin's user avatar
0 votes
2 answers
85 views

I need to connect the extreme points in an arc of a circle. The "node" notation doesn't work right. There is a small gap between the arc and line \begin{figure}[hbt] \begin{tikzpicture} \...
Lucy's user avatar
  • 167
2 votes
2 answers
357 views

I have been facing issues to fit some nodes like perceiver to encapsulate local group nodes and botthleneck node. I have the same problem with the recurrent node which I would like to be the ...
Dalek's user avatar
  • 575
2 votes
1 answer
196 views

One of my publishing products involves creating a fairly large number (21,000) of diagrams, consisting of about 14,000 unique nodes. This is all machine-generated, drawing dependency graphs of game ...
Keith Davies's user avatar
0 votes
2 answers
102 views

I have a Minipage in a node because this is a template and will have a variable number of lines which lists characteristics of the image that the arrow is pointing to. The image is not shown since ...
David Collins's user avatar
0 votes
1 answer
67 views

Im trying to have a table inside a node, I can insert a table inside the tikzpice, but I can not define a width of each cell. So what i want, is something similar to this, so each cell has the same ...
Kristian Bekker's user avatar
3 votes
2 answers
175 views

I have the following piece of code and I would like to use the same variables for coordinates and labels, but the thing is that this variables contain values like sqrt(n) and as labels they apear just ...
liuzp's user avatar
  • 309
8 votes
2 answers
285 views

I'm trying to color the vertices (circles) of the grid one of three colors. I've figured out how to color the label, but not the circle itself. I would like something like \node[circle, fill=\...
Amy Herron's user avatar
0 votes
1 answer
113 views

I'm trying to draw two lines from an empty node, but the point where the lines meet at the node is slightly below the line segment from the parent node to the empty node. In the picture below, there ...
sidat's user avatar
  • 35
2 votes
1 answer
68 views

Consider following example: I have a colourful background, and a line that goes across. I want to label the line with text that is right on top, but I want the line to disappear when it passes the ...
flawr's user avatar
  • 1,321
3 votes
1 answer
144 views

Why does using scale on a node using the scope environment cause its coordinate to scale, but when I use scale on a node using its options, only the contents are scaled? In the following code, the ...
Jasper's user avatar
  • 10.9k
3 votes
1 answer
90 views

In the following example, I would like to set the font size of a node from "inside" the node's contents, i.e. without changing the node's font attribute: \documentclass{standalone} \...
Cactus's user avatar
  • 1,387
1 vote
0 answers
70 views

This is inspired by How to mark nodes in tikzpicture node using tikzmarknode. Stripping away the positioning stuff, a neat solution would involve inserting a drawing command between a node's ...
Andrew Stacey's user avatar
0 votes
1 answer
77 views

In pgfplots, I want to place the x^2 below the cos(x), as in the figure below. I am trying to replicate the example from the manual, §4.19.3, but for some reason it seems that the syntax for node's ...
tush's user avatar
  • 1,257
0 votes
0 answers
56 views

I have an outline slide in a beamer I want to highlight each box in, one by one. I am currently moving the fill=blue!20 argument around between nodes every time I start a new section but would prefer ...
Zack Fair's user avatar
  • 471
4 votes
2 answers
225 views

I have drawn a simple curve in the MWE below. How can I place a node relative to a specific point on this curve, such as 2cm southwest of the "near start" point? \documentclass{article} \...
Noah Tang's user avatar
  • 197
5 votes
2 answers
231 views

For the life of it I can't get any space in front of the label name "ground". Now it is stuck to the wire connected to the ground symbol. I have tried [sground, label distance=1 cm], but ...
Johannes Linkels's user avatar
1 vote
2 answers
183 views

I have made a fitted node around Node1, and I'd like to add another node directly on top of fittedNode with the same width as the fittedNode. This is what I have so far: \documentclass{article} \...
Ben Pepper's user avatar
7 votes
3 answers
339 views

I want to draw the figure whose code is produced below in TiKz. As you can see, the eta symbol is not properly aligned with the text "ADD." Please help me to align the text correctly. Also, ...
Vivek Harshey's user avatar
5 votes
4 answers
464 views

I drew the below picture to illustrate the backtracking tree on the k-queen problem with k = 4. It's a bit ugly... and I don't know how to solve the problem : the connecting lines from the child ...
R. Absil's user avatar
  • 335
2 votes
1 answer
172 views

I'm implementing a Red Black Tree in LaTeX using tikz, and have been stuck on the error message Package tikz: Giving up on this path. Did you forget a semicolon?. Here's my code thus far \...
lambdaserb's user avatar
2 votes
1 answer
77 views

Here Align line with caption in Tikz pgfplot legend the legend alignment are wrong because of an entry that goes below the preset text depth=0.15em - see "default every axis legend style" on ...
hpekristiansen's user avatar
3 votes
1 answer
113 views

I want to change the background opacity of a node without making the characters more transparent. \documentclass[border=0cm]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \...
rpapa's user avatar
  • 12.9k
1 vote
1 answer
118 views

When using pgfplots, is there a way to set the style for every node on a plot for a particular axis? I'm currently setting the style for each plot, but I've been unable to do the same for each node ...
pwesterbaan's user avatar
0 votes
1 answer
68 views

I'm drawing part of a tree, and I want child sub-tree to be drawn as a large triangle. Here's a MWE \documentclass{standalone} \usepackage{tikz} \usepackage{calc} \usetikzlibrary{trees} \...
R. Absil's user avatar
  • 335
0 votes
1 answer
73 views

I want to display a colored box below an image in a tikzpicture within a beamer presentation. But I am failing to align the sizes correctly, possibly due to the node border. But adjusting the border ...
Sim's user avatar
  • 218
3 votes
3 answers
221 views

In an effort to understand @Qrrbrbirlbel answer here: https://tex.stackexchange.com/a/725849/8650 I made this code: \documentclass{article} \usepackage{tikz} \begin{document} ~\\ A text line\\ % \...
hpekristiansen's user avatar
2 votes
1 answer
110 views

I'm trying to replicate the arrow style from one TikZ figure in another. Specifically, I want to change the arrows in the first image to match those in the second image. \begin{figure}[H] \centering \...
Yosef Hamdellah's user avatar

1
2 3 4 5
11