Questions tagged [nodes]

{nodes} is about nodes in {diagrams}. 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
0 votes
1 answer
13 views

To which entities can I anchor nodes in pgfplots?

I find it difficult to read from the pgfplots manual, which entities I can refer to, e.g. to anchor nodes with further information. E.g. in the example below, what are some or all entities I can ...
MS-SPO's user avatar
  • 12.1k
0 votes
1 answer
45 views

Adding text with reference to yticklabel in polar plot

I have a polar plot with a not very clever dB label under yticklabel. In this case everything is fine, but I want to change many such charts but with a different y-range, so I need to add a label with ...
Chey's user avatar
  • 85
2 votes
1 answer
45 views

Adding annotations on images in minipage

I am trying to add a visual annotation (a rectangle) on an eps file directly using LaTex. I have attached the desired outcome below : For that, this is my code : \documentclass{article} \usepackage{...
Waxler's user avatar
  • 712
4 votes
1 answer
91 views

Tikz matrix with color nodes (traffic light)

I am trying to adjust a command for traffic light (found from some answer for previos question) such that the border of nodes (circles) will be black (line draw = black!100 inside nodes), but it seems ...
kissmemiau's user avatar
3 votes
3 answers
190 views

Node in unwanted position using tikzpicture

I am trying to adjust the position of a node in a tikz figure but for some reason the dot that I create doesn't show in the appropriate coordinate (0,8/3) that is imposed. @codeR suggested me to put ...
Waxler's user avatar
  • 712
0 votes
0 answers
32 views

What's the simplest way to auto-layout \node so they do not overlap? [duplicate]

I'm using the latest mactex on macOS, the xelatex part. I'm rendering this tree structure of nodes: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{...
grigoryvp's user avatar
  • 101
3 votes
2 answers
196 views

Connecting nodes by lines which represent density of connections

How could the lines be connected to signify density(heat) by the number of lines connecting to parenting nodes. I.e the more lines connect to same parent node, the brighter the heat of the converging ...
Joosep Parts's user avatar
0 votes
1 answer
28 views

How do I align two rows of characters inside a tikzpicture node, when the second line contains mainly whitespace?

I'm using tikzpicture to draw diagrams/flowcharts in my dissertation and I have encountered an alignment problem inside a node. The node contains two rows, the top row is the variable names and the ...
Michelle's user avatar
  • 519
0 votes
2 answers
70 views

Rectangular node with cross (plus) marks at the edges

I want to divide the working area into some parts and then mark their borders with plus marks. I can do this separately: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{...
Przemysław Scherwentke's user avatar
0 votes
0 answers
21 views

Tree diagram using tikz in latex. How do I make the different forest classes to be on two or three columns?

This is the code I have: \begin{figure} \centering % \tikzset{ basic/.style = {draw, text width=3cm, align=center, font=\sffamily, rectangle}, root/.style = {basic, rounded corners=...
user21060315's user avatar
1 vote
1 answer
67 views

Node acting as a title in tcolorbox

I am working with the following document and would like the red title box to sit vertically centred right in the middle of the top rule of the text box. Of course, I could do this manually by ...
wrb98's user avatar
  • 876
1 vote
1 answer
34 views

Select precisely the departure of a line between nodes

I want to chose the departure of my lines between my nodes in somewhere between these anchors, for example I want to choose a anchor between north east and east. How can I do that? \documentclass[...
avirsty's user avatar
  • 31
0 votes
2 answers
66 views

Tikz node anchor and alignment

In tikz, I have a node with specified text width, so the text can break into multiple lines. I also have another circle with some text in it. I want the circle to be aligned as in the second picture, ...
totallyimmersed9's user avatar
2 votes
3 answers
105 views

How to add a label below a node

The below diagram was made by positioning the annotations manually: I'd like to make the code easier to adapt. For example, make it easier to extend with some more annotated nodes. It would help if ...
sjdh's user avatar
  • 311
3 votes
1 answer
91 views

Latex Forest Package Reduce the length of lines betwen nodes?

By using Forest package i am try to create red-black tree. In some point in my presentation i need to shorten the lines between the nodes which are red, but the parents are black. \documentclass{...
İbrahim Uğur ABA's user avatar
4 votes
1 answer
97 views

Alternating color borders of nodes and forest package

I try to follow How to draw a double-color line with tikz and incorporate a node with alternating colors in the forest package. In classic tikzpicture and with node properties it works. However, for ...
Arne's user avatar
  • 1,305
2 votes
2 answers
110 views

Jump crossing in circuitikz

I wanted to draw a jumping node to the intersections of leg1 and voltage. If you can run the code you will probably understand why I mean. I tried to[crossing] and naming the intersection point then ...
Barbaros Teoman Kosoglu's user avatar
4 votes
3 answers
280 views

Recreating Image Using TikZ (nodes and Edges)

I am trying to create the following picture using TikZ. I have come up with something, but I am wondering if there is a more efficient way to do this. You can see each part of the integrand is its ...
Nick B's user avatar
  • 807
0 votes
1 answer
39 views

How to get math font larger than Huge in node? [duplicate]

I need to add text to a pdf, but the largest \Huge is not big enough, so I change the font size according to question's answer, but I found that this command does not work for math fonts. You can see ...
Zhao Dazhuang's user avatar
2 votes
0 answers
84 views

How to get a math font that is much larger than Huge?

My tex code is like this: \documentclass[border=2pt,tikz]{standalone} \usepackage{tikz} \usepackage{amsmath} \usepackage{siunitx} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \node[...
Zhao Dazhuang's user avatar
0 votes
1 answer
37 views

Node not showing in plot

I want a node do describe my second function e^{-2t} but it doesn't showing up; this is my code: \begin{tikzpicture} \begin{axis}[ xmin=-3,xmax=3, ymin=-2,...
Dio's user avatar
  • 3
2 votes
1 answer
110 views

Adding tikz nodes dynamically relative to anchor

I am trying to reconstruct a CV that I've originally built in InDesign in LaTeX and have come to the conclusion that I must redo it since I most likely will not find a tool to convert InDesign files (...
fieseler's user avatar
1 vote
2 answers
40 views

Beamer: Increase Heights of the Two Rectangular Boxes Containing Tikz Picture

I have two tikz pictures wrapped in two rectangular boxes and connected with tikz arrow for illustration on beamer as demonstrated below: \documentclass[xcolor=dvipsnames,svgnames]{beamer} %\...
economia's user avatar
  • 259
3 votes
4 answers
301 views

How to draw observed and residual variances in a path diagram with `tikz`?

I want to draw observed and residual variances in a path diagram. I tried the following: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} % Page style. \pagestyle{empty} % `tikz` ...
Mihai's user avatar
  • 223
1 vote
3 answers
126 views

TikZ: bullet points on both sides of nodes

Here's a MWE of a diagram I'm working on for a paper: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,fit,backgrounds} \begin{document} \begin{tikzpicture} [ ...
Charlie Vanaret's user avatar
3 votes
2 answers
270 views

How to draw a block graph (many complete subgraphs joined together)

I am wanting to draw a block graph. A block graph (or clique tree) is a type of graph in which every biconnected component (block) is a clique. A clique is a subset of vertices (nodes) of a graph such ...
Emily's user avatar
  • 125
2 votes
2 answers
396 views

Only do wiring along the x/y axis

Is there a way to draw a wire only along the x or y axis? I mean of course you can do it manually when you give it fixed points, but is there a way to give two coordinates and latex splits it up in ...
UserUnkn4wn's user avatar
0 votes
0 answers
58 views

Pointed ellipse shape

I'm trying to draw a pointed ellipse shape between two tikzmarknode nodes. Regardless of the ratio of semi-major to semi-minor axis I choose, I can't make the ends very pointy. My different attempts ...
TheorVHP's user avatar
0 votes
1 answer
66 views

Tikz: draw arrow as node inside axis environment

Yes I know there's a similar question, but I'd need something simpliest. I would like to reproduce this image, and my idea was to draw the two arrows (the ones corresponding to m=+1/2 and m=-1/2) as ...
user3713179's user avatar
0 votes
2 answers
60 views

TikZ: decorating a circle with a dotted partial-ellipsed arrow

I'm trying to reproduce this simple drawing, How can I simulate the dotted ellipse as it simulates the rotation of the particle? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]...
user3713179's user avatar
3 votes
0 answers
106 views

Shift node text in tikz

I need to display two lines of text at a node using tikz. The code I am using is: \documentclass{book} \usepackage{pgf,tikz} \usetikzlibrary{arrows.meta} \begin{document} \...
Emad's user avatar
  • 33
5 votes
1 answer
156 views

weird polar coordinate to place a node

I found a weird "(node.angle)" instruction, see the complete minimal example below. From the tests I have been able to do, I understand it is a kind of polar coordinates. We start from the ...
Franck Pool's user avatar
3 votes
2 answers
71 views

The spacing is not the same after defining the absolute position of the node?

I defined the absolute position of the node, and the difference between their vertical coordinates is fixed y. However, the distance between them is different in the picture display. How to solve it? \...
Zhao Dazhuang's user avatar
0 votes
2 answers
109 views

TikZ coordinate

In a diagram made with TikZ, I saw this coordinate relative to the node “c”: (c.130), 130 being an angle in degrees. Can someone tell me why the distance between the two points obtained is not ...
Franck Pool's user avatar
0 votes
1 answer
51 views

Aligning node to be both to the right and above

The screenshot below shows that I almost have what I want: It's just that block 2 is hidden by block 3. I'd like block 2 to be higher by 1 cm and block 3 to be lower by 1 cm. Here is my code, how do ...
Al-Baraa El-Hag's user avatar
2 votes
1 answer
87 views

Forest folder in forked edges tree spacing problem

The expected behavior of the following code would be that nodes descending from a myFolder node are positioned below the parent node with some indentation. As you can see from the image, however, it ...
Datboi's user avatar
  • 85
0 votes
1 answer
55 views

Translate curve horizontally

I drew this curve with pgfplots \documentclass[12pt]{article} \usepackage[margin=1.5cm,top=1cm,headheight=16pt,headsep=0.1in,heightrounded]{geometry} \usepackage{pgfplots} \pgfplotsset{compat=1.11} \...
user3713179's user avatar
1 vote
0 answers
22 views

Adding labels and ticks to chronodex

Upon @MS-SPO's suggestion, I've included the refactored code here. I still need to add some ticks, labels indicating time and nodes for hours (12, 3, 6, 9). I did figure out adding nodes but they aren'...
crypto's user avatar
  • 757
11 votes
2 answers
705 views

Replicating a chronodex in TikZ

I've tried to make a chronodex in TikZ and I have a basic skeleton. I need to add a few more things to it (ticks, labels, nodes). Besides, the code itself could be optimised using loops but I'm still ...
crypto's user avatar
  • 757
1 vote
1 answer
46 views

A problem with equation nodes in beamer

\documentclass{beamer} \mode<presentation> { \usetheme{default} \usecolortheme{default} \usefonttheme{default} \setbeamertemplate{navigation symbols}{} \setbeamertemplate{...
ric.san's user avatar
  • 129
0 votes
1 answer
56 views

lines between nodes [closed]

my question is if there is an "easy" way to draw a line between each node of a square with every node of the other squares which have been drawn symmetrically, here is the code of what I'm ...
JRV's user avatar
  • 73
0 votes
1 answer
37 views

Why are all of the nodes in this standalone tikz document moved to the bottom left? I am using pgfplots

I have the following code that I am using in pgfplots in a standalone tikz document: \documentclass[tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{positioning, arrows.meta} \pgfplotsset{...
Rango's user avatar
  • 41
4 votes
2 answers
167 views

How to draw many semi-circles in a row with different centres in Tikz

I am wanting to draw five semi-circles in a row (something like the second photo). This is a graph with the dots as vertices/nodes. I can draw one semi-circle, which is centered at the origin (pleae ...
Emily's user avatar
  • 125
2 votes
2 answers
60 views

Draw edges in background of transparent nodes

This question is an extension of this one. That question is about drawing a path in the background of nodes. There are three nodes equally separated on a line, and there is a straight line connecting ...
And R's user avatar
  • 156
1 vote
0 answers
53 views

Connect 2 nodes with an arrow from different figures

I am trying to connect 2 nodes from 2 different figures; is there a solution? this is my attempt. \documentclass [conference] \usetikzlibrary{tikzmark, shadows.blur,arrows.meta,bending, shadings, ...
bighero's user avatar
  • 11
0 votes
2 answers
59 views

How can I have the text inside the node aligned to the left (the black box-ish shape)?

I have run into a weird problem. For some reason, the text bits inside the node get pushed and pushed more to the right, the more I compile. If I activate the overlay option for my custom command, the ...
henry's user avatar
  • 6,594
0 votes
0 answers
64 views

Tikz IOT- network

I want to paint a IOT network, in Tikz. On the left side I need a television, two Persons, In the middle i want a speaker with tikz and on the right side i need symbols (A door cloud, a phone). I ...
herminato's user avatar
0 votes
1 answer
84 views

Why do I need to remove `inner sep` from text width in node to have correct width?

I am trying to create an official (looking) form. When using tikz to draw the fields I need to subtract inner sep from the intended width of the field to get the correct width. \documentclass[DIN, a4, ...
mrCarnivore's user avatar
  • 1,505
4 votes
2 answers
359 views

Customizing circuitikz, thickness and colors

I am drawing a simple circuit with circuitikz package. I am struggling with colors and thickness. \documentclass{report} \usepackage{circuitikz} \begin{document} \begin{center} \begin{...
Anibal Marrero's user avatar
2 votes
4 answers
220 views

semicircle centered at chord center

I need a semicircle node centred at chord center. The positioning is achieved with the option anchor, but the external lines are still directed to center. Is it possible to direct lines to chord ...
Pygmalion's user avatar
  • 6,387

1
2 3 4 5
30