Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
1 vote
1 answer
29 views

How can I align tikz nodes ragged left?

I'm producing a CV from a template which uses tikz nodes for a general skills section. This is what the section looks like: I would like the nodes to be left-aligned in relation to one another, ...
user avatar
  • 133
1 vote
1 answer
48 views

Making a node elliptical in TikZ

MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} \tikzset{elips/.style={ellipse,draw},} \tikzset{yuvar/.style={circle,draw},} % yuvar ...
user avatar
0 votes
2 answers
21 views

Multiline math mode inside a Node doesn't work at all

I would like to draw a picture and write some equations below it that will be aligned to a certain symbol ( the equal sign in this case ). \documentclass{report} \usepackage{amsmath,tikz,mathtools} \...
user avatar
  • 51
1 vote
2 answers
58 views

adjust text in itemize environment in a tikz node

I am trying du align my text of the items in the itemize environment in the tikz nodes. I also tried to use the topsep parameter but it didn't work out as I thought. The text should be on the top of ...
user avatar
  • 249
0 votes
0 answers
30 views

TikZ-pgf and using graph drawing algorithm by referencing existing nodes

I want to use the graphs library in TikZ together with the graphdrawing algorithms to create a graph with many nodes, and connections that I will make and label later. I have a more complicated ...
user avatar
1 vote
2 answers
41 views

How to top center align text inside a tikz node

This is what my nodes look like: I would like to have all the text to be aligned at the top of each node. This is the code: \node[rec5, below=4.6cm of E] (G) {Umwandlung der Zustände in normierte ...
user avatar
0 votes
1 answer
22 views

Nodes spaced vertically at exactly 1 \baselineskip apart

I'm following the idea behind this post Itemize list inside a tikzpicture node I would like to place the nodes at exactly 1 \baselineskip of each other such that even when changing font family or ...
user avatar
  • 51
1 vote
1 answer
59 views

Why does my text along the line intersect nodes?

everyone! I am plotting some diagrams and encountered a problem. Here is my code \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{arrows.meta, positioning, quotes,...
user avatar
3 votes
1 answer
71 views

How to read a table to use for Node locations

Let us assume that we have a two column table in a .txt file: As we see the table has a header x y that we skip. The next row is to be the location of Node A at (0, 0). Similarly, the next row will ...
user avatar
  • 1,491
2 votes
2 answers
112 views

Place text along a path

I'm using the decorations library to put text along a path. But the text does not appear on the path, instead, it appears in the node, how should I correct it? Also, the dotted path is not symmetrical,...
user avatar
  • 237
0 votes
1 answer
34 views

Trouble drawing an ellipse around two elements of a forest environment

I have seen some questions about the same topic in the forum, but I've been unable to reproduce the same output in my code, so I would start by saying sorry for posting similar questions but here we ...
user avatar
  • 265
1 vote
1 answer
33 views

Drawing dashed edges in a binary tree and adding new edges between different nodes

I would like to add extra edges between nodes that aren't specifically related as child and parents in a binary tree and also to change the styling of the edges. Currently I have the following code: \...
user avatar
  • 265
0 votes
1 answer
41 views

Node names are too long for forest

I've been trying to draw a tree like this: But I came across the problem that the node names are apparently too long... So the code below doesn't work. (If you replace $\lambda x.\lambda e. \text{...
user avatar
2 votes
1 answer
56 views

Pointing arrows from two sentences to a word [duplicate]

I am using beamer to create slides. I am not sure how to generate arrows from two sentences merging and pointing towards a word as shown in the below image.
user avatar
  • 237
1 vote
1 answer
39 views

How to add text above the lines nodes in LaTeX

I have following code and I try to add text above the edges, but don't how to do it \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=30pt, level distance=50pt] \tikzset{edge ...
user avatar
1 vote
2 answers
60 views

Relative positioning of nodes as labels

I am using nodes as labels on a graph, and I'm having issues with them overlapping. I know I could move them manually, but this will be part of a larger document that will generate this same graph for ...
user avatar
  • 305
4 votes
2 answers
235 views

Adding more than 9 nodes to tikz

I am an absolute beginner of tikz and I have modified one example from https://texample.net/tikz/examples/work-breakdown-structure/ My problem: I did not know how to make a connection the arrow to the ...
user avatar
  • 43
1 vote
1 answer
35 views

Create variable for changing node-names in tikz

I was trying to draw multiple rectangular nodes side by side using \begin{tikzpicture}[scale=0.675] \def\size{0.625cm} \node[rectangle,draw,line width=0.6pt,minimum size=\size,fill=cyan!50!...
user avatar
3 votes
1 answer
115 views

How to add an arrow between two side by side figures?

I want to add an arrow between these two side-by-side figures. Both of them would have their own captions. I made these figures in Geogebra and will import the figure using \includegraphics. I am new ...
user avatar
  • 33
2 votes
1 answer
36 views

Scaling nodes, grow sep, and coordinates while preserving text size

I have a drawing based on 1cm unit. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,positioning} \begin{document} \begin{tikzpicture}[ every node/.style = { circle, very ...
user avatar
  • 1,361
1 vote
1 answer
43 views

Distributing TikZ nodes on a grid using the graph command

I would like the following 10mm nodes to be fitting a 10mm grid using the graph command. Instead, the thickness is adding up (I would like TikZ to ignore it). \documentclass{standalone} \usepackage{...
user avatar
  • 1,361
1 vote
1 answer
30 views

circuitz node connection problem

I'm having trouble making a 3-way node using relative coordinates. Op-amps have fractional coordinates and I find it is easier to connect to using relative coordinates, but this diagram has a ...
user avatar
3 votes
1 answer
54 views

How to propagate one node to multiple nodes up right and behind each other in Tikz diagram?

I have drawn the following diagram using Tikz: \documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta, positioning, quotes} \begin{document} \begin{tikzpicture}[ node distance = ...
user avatar
1 vote
1 answer
54 views

How can I move an edge connecting two nodes?

I predefined the nodes and now the edges are connecting the nodes as follows: \documentclass {scrartcl} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \tikzstyle{vertex} =...
user avatar
  • 11
0 votes
1 answer
52 views

Bitarrays with Text in between

i am very new to Latex, i want to draw Bitarrays, while i got it working (in a very inelegant way) in beamer i struggle to get it properly working in article. I copied an example from some code on ...
user avatar
2 votes
2 answers
73 views

Alignment of text nodes placed above paths and other issues in tikz qtree

I'm trying to set up a template for rendering decision trees using tikz-qtree. Here's what I ended up with : \documentclass[border = 0.2cm]{standalone} \usepackage{tikz} \usetikzlibrary{shapes, ...
user avatar
  • 29
1 vote
1 answer
30 views

pgfplots horizontal histogram problem hide nodes near coordinates

I'm trying to draw a horizontal histogram, but I struggle to hide the last two nodes near the coordinates. I want the y-axis showing a tick also at >1000.0ms, but I don't want ot show a value for ...
user avatar
4 votes
1 answer
228 views

Half circle node

Some time ago I wanted to create a half-circle node and I used the solution below. However, this solution has one drawback that if you fill the node, the whole circle is filled, not only a half. Is ...
user avatar
  • 5,473
4 votes
3 answers
510 views

How to draw Thales circle with marked angles?

I want to draw this picture: This is what I have so far: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \coordinate ...
user avatar
1 vote
2 answers
58 views

How to fill a box after being created by node?

I created a testbox by using node in tikz as follows: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture} \node[draw, regular polygon, ...
user avatar
  • 419
3 votes
1 answer
73 views

tikz node color resets

I am having trouble with node colors resetting after specifying a color for a single word. I have the following MWE where I have the string 3\\ 4\\ 5\\ 6 in which I have specified that 4 be \red{} ...
user avatar
  • 1,200
1 vote
1 answer
50 views

How do you add two different lines of text using tikz and chemfig?

So I have kind of a problem, I want to recreate this chart: Here's the current code: \begin{center} \fcolorbox{black}{gray!20}{ \schemestart \begin{tikzpicture} \draw[fill=...
user avatar
  • 83
6 votes
1 answer
131 views

Triangular Node has Unexpected Inner Space

I was expecting a much tighter triangle around the text in this example, similar to the inner spacing around the text in the rectangle nodes. How would I tighten up the inner spacing? \documentclass[...
user avatar
2 votes
2 answers
87 views

TikZ: How to put tables within arbitrarily placed nodes?

I have several tables that are related to each other. Based on this question, I tried putting the table within a node within a matrix, but this constrains my tables to be arranged in an array. Since ...
user avatar
  • 2,659
1 vote
1 answer
46 views

Node anchor too far away from node text

I'm using a loop to write several labels for line intersections, but perhaps for reasons of scale or something the labels are a bit too far away from the intersections. I can't fix each manually since ...
user avatar
  • 1,163
2 votes
1 answer
62 views

TikZ figure using nodes and arrows

I am planning to draw the following figures. The arrows are drawn by hand, they should be rounded. All I come up with the following MWE. \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc}...
user avatar
  • 2,002
4 votes
2 answers
55 views

How can I draw neuro-fuzzy?

I try to reproduce the figure below, but I am having difficulties with the connection between inputs x1 and x2 with the first four blocks of "layer 1" and with connecting layer 1 with the ...
user avatar
1 vote
2 answers
52 views

Setting Top Margin within a node

I have two nodes which form boxes. One of them is the headline and the other one contains the information using \itemize. As there was a lot of space between the left border and the bullets I reduced ...
user avatar
  • 13
1 vote
2 answers
27 views

Vertical alignment of nodes text

I have two nodes with different mathematical formulas above them. I would like to have them aligned as if they were written in the same line. MWE: \documentclass{article} \usepackage{tikz} \usepackage{...
user avatar
  • 265
3 votes
1 answer
80 views

Drawing Arrows Between Tikz Boxes Around Forest Nodes (w/ MWE + Screenshot)

I am using MacTeX/TeXLive 2021, the newest version of TeXStudio, and Latexmk. I would like to draw an arrow from the green box to the purple box in the picture below. It would replace the current pink ...
user avatar
  • 319
2 votes
1 answer
70 views

Forest Node Alignment with Tikz Rectangle Drawing

I am using MacTeX/TeXLive 2021 and the newest version of TeXStudio. For compiling, I am using Latexmk. In the tree below, I would like for the green box placed on the VP to affect the positioning of ...
user avatar
  • 319
4 votes
3 answers
180 views

Indentation inside of a node

I have nodes with text and I want them like in the first two nodes. As you can see the solution has its flaws: First I have to manually adjust the indent and so cannot be sure if it is correct aligned ...
user avatar
  • 6,230
1 vote
1 answer
56 views

Plotting Radix-2 graph for FFT in tikz

I'm working on a FFT presentation and for that I need to replicate the following graph: I browsed through similar questions on this forum and came up with this: \documentclass[tikz]{standalone} \...
user avatar
2 votes
1 answer
75 views

TikZ: coloring multiple passes over the same path between nodes

I'm drawing a lattice of nodes and I would like to highlight certain paths with different colors. When the paths overlap, I would like the colors to appear adjacent to each other. I've seen ...
user avatar
  • 48.8k
0 votes
2 answers
169 views

Drawing Latex tree and make arrows in it and change the spaces

I am currently typing a lecture note. Today, I have to make a tree in Latex. Style/application: text boxes and \tiksstyle Title: Types of equations Types of textboxes: border is black border is ...
user avatar
1 vote
3 answers
83 views

How to make a rectangle fill up some space given the position of neighbouring rectangles?

I am trying to create a figure consisting two stacks of rectangles, side by side. The right stack contains three rectangles, the left one two. The height of the rectangles depends on the text contents....
user avatar
0 votes
1 answer
50 views

How to position a node relative to two other nodes in Tikz

I am very new to Tikz and am trying to draw a diagram with 5 nodes. My code is as follows: \usepackage{tikz} \usetikzlibrary{automata, arrows, positioning} \begin{document} \begin{center} \begin{...
user avatar
0 votes
1 answer
89 views

Tikz Nodes in two columns from a list

I'd like to do the following. I want to iterate over a 2 dimensional list and place tikz nodes under each other in two columns. Each element contains the following information: name of the node and ...
user avatar
  • 23
3 votes
1 answer
102 views

How to get a Tikz arrow to point to different parts of a text node? [closed]

I essentially wish to create this effect, where I have to nodes connected by an arrow and I can freely adjust the starting point and ending point of the arrow. I have no idea which option to use. I ...
user avatar
1 vote
2 answers
39 views

Start arrow from a point at a certain distance from a node

I want to do something like this: Please tell me how to do it. Thanks in advance.
user avatar
  • 25

1
2 3 4 5
28