Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

Dimensions of nodes

In the following picture, I would like to use the same width for the rounded rectangles and the same height for the arrows (take a look at the last ones). To do that I need to store the dimensions of ...
0
votes
0answers
19 views

hf-tikz: no shape found

I'm trying to have two separate frames, each highlighting only the rows or the columns in a matrix, using hf-tikz in beamer: \begin{frame} \frametitle{Matrices} \begin{equation*} \begin{...
1
vote
1answer
62 views

How can I draw a line segment from an anchor node inside a pic?

I'm trying to draw a line from an anchor node inside a configurable object constructed as a TikZ pic, but it doesn't work. Is there an explanation and solution for this? \documentclass[10pt]{...
2
votes
2answers
72 views

How to add a label with `\draw` command?

I have the following plot. How can I add a label to the point in this plot? I have already tried \draw[fill, label=A] (-3, 3) circle [radius=1mm];, but it didn't work. And \node seems too big for my ...
2
votes
1answer
44 views

How to write inside a tikz grid

I would like to write an a in the rectangle that I marked below. I suppose the solution uses nodes somehow but until now I could not figure it out. Thanks in advance! \documentclass{article} \...
1
vote
1answer
25 views

Node that creates another one which reads its values dynamically

I'm trying to understand how the expansion of a \pgfextra which in turn is inside an append after command is done. My idea is to read some value from a pgf key when the append after command code is ...
0
votes
0answers
12 views

Writing inside the nodes of a matrix shift them [duplicate]

Hello helpful community, I am faced with an issue while using a matrix of nodes in Tikz. When I write something in the nodes, they shift. Here is a MWE : \documentclass{standalone} \usepackage[...
1
vote
1answer
32 views

Nodes in PGFPlots Get Cut Off

I'm trying to draw a basic graph in pgfplots but facing an issue that I wasn't able to solve based on similar posts. I'm trying to add the functions I'm displaying on my graph on their respective ...
1
vote
3answers
64 views

Tikz. How to draw arcs between nodes?

How to draw arcs. How to add the blue arcs in a simple way? Or in a simple line with 3 nodes. I have problem with the final lines \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[...
0
votes
1answer
30 views

Draw arrows from one part of a sentence to another

I'm trying to get the text in the top line to be laid out like the text in the bottom line. Ultimately, I need to draw arrows from the coloured t's to the word 'when'. I thought that specifying the ...
2
votes
2answers
28 views

Line starts next to node (not at it)

I want to connect two points, which are defined by nodes, by a (arrowed) line. Here is my broken down code: \begin{tikzpicture}[] \node (oe) at (0,0)[]{}; \node (x) at (2,0)[]{}; \draw[dashed, ...
4
votes
1answer
64 views

Bounding a picture inside a shape on a node

I have a tikzpicture tiled inside of a tikzpicture with the shape of a starburst as a central, repeating node. I want to fill the starburst with a picture. Normally, for a question here, I'd take ...
0
votes
2answers
74 views

Tikzpicture of 3 perfect hexagons overlapping

for some university stuff I need to align 3 perfect hexagons and they have to be overlapping, see attached image below. That means, I need equal distance between every pair of nodes. Of course I could ...
1
vote
1answer
28 views

Defining coordinates on an arrow between two nodes

I am trying to draw the diagram as shown in the Figure. I want to position the nodes B and C, just 1.5 cm above the arrow connecting to node 1 and 2. In case of node A I used the following code to ...
3
votes
2answers
74 views

The distance issue between nodes in tikz

I am trying to place two nodes in the northeast and and northwest of another node. However, I am facing a visual issue. Here is the example that I am working on. \documentclass{standalone} \...
0
votes
2answers
53 views

Adding vertical ticks at nodes on a horizontal like drawn with TikZ

I have the following minimal code \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[solid, thick] (0,0) node [below]{0} -- (2,0) node [below]{$n-k$} -- (6,0) node ...
5
votes
3answers
96 views

Align Symbols in Nodes Circuitikz

I have a little Problem, that I can't solve with Circuitikz. I want to change the layout of all my nodes. I want them to look like this: After some while I managed to change the dot and the ...
0
votes
1answer
37 views

Command to put text at specific position no matter length

I have the following code : \documentclass[12pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} %landmark \draw [lightgray] (0, 0) -- (0,-1.5); \node at (0.45,-0.2) {Hello}; \node ...
0
votes
1answer
25 views

Tikz nodes with pattern ignoring z-order/fill

I'm trying to draw overlapping circles with patterns aka hatches. Overlapping circles are meant to hide underlying circles. This is the way it usually works without patterns, but as soon as I add ...
0
votes
1answer
30 views

Defining a coordinate (instead of node) with in a graph tikz

When drawing a tikz graph, can I specify that a point (P) is a coordinate, rather than a node (G1, G2)? I would want to do this because I find coordinates are more precise than empty nodes, and there ...
0
votes
2answers
58 views

Position the beginning node of a graph with respect to another node

I would like to start a graph's first node (G1) with respect to another pre-existing node (N1), using the positioning library. I would like it to appear as follows: N1 G1 - - G2 N2 I've ...
0
votes
1answer
37 views

TikZ Graph with \usebox commands not working

I would like to connect "components", which I create with TikZ and store as a savebox to later incorporate into the final drawing. When using the graph command, the output is not what I ...
0
votes
2answers
54 views

TikZ 'midway' that knows about the 'to' opearation

This is sort of the same as/follow up to this: TikZ coordinate that refers to the last "current coordinate" The answer to that question suggests me to use to instead of -- so that I can use \...
1
vote
1answer
48 views

Logo only in some slides

I am using a presentation available on Overleaf ["TU Chemnitz Beamer Presentation Template"]. A circle has been created in each slide and through the code shown here the logo is inserted ...
0
votes
0answers
78 views

tikz drawing perpendicular line

I copied and pasted some code from another thread on this forum, and it has worked, however I am unsure how to change the length of the line. On the attached image, the line is the one labelled H(X,T)....
1
vote
1answer
86 views

Tikz nodes: how to draw a decorated pentagon?

I need to draw an associahedron, i.e. a pentagon whose vertices are decorated with planar binary trees and edges decorated with planar non-binary trees. I am using TikZ with labels in forest Below is ...
2
votes
1answer
33 views

How to rotate a node so it'll be parallel to a line?

I'm trying to put a node rotated parallel to a line y = 5 + x. Obviously, I expected the angle of rotation would be 45. \documentclass[dvipsnames]{article} \usepackage{pgfplots} \usetikzlibrary{babel,...
0
votes
1answer
38 views

TikZ/Pgf - I can't get “node” to work

I'm having trouble with some work and I would appreciate any help. I would like to add this kind of text into my project: And here's my code, I don't know why node[left]{$P^*=50$} and node[below]{$Q^*...
1
vote
1answer
26 views

How can I make a rectangle invisible in tikz to delimit an area an write text on it?

What I'm trying to do is replicate this image: And here is what I got so far: \begin{tikzpicture}[scale=0.8] \draw[thick] (0,0) -- (4,0) -- (4.5,2) -- (4,4) -- node[above]{\textbf{Motivacional} }(0,4)...
2
votes
3answers
273 views

Directed Graph for the Collatz Conjecture

The following directed graph contains sample orbits of the Collatz Conjecture. I think it may have been originally produced with Mathematica. Is it possible to produce something similar with Latex? ...
2
votes
2answers
64 views

Why is tikz foreach behaving strange when visiting nodes

I want to use foreach to draw connections between a sequence of nodes. But, for some reason, foreach forgets the position of the last node. Here is an MWE illustrating my question: why are the two ...
0
votes
1answer
30 views

Colour arrows graphdrawing

I am using graphdrawing tikz to create a small tree. In the MWE below, I would like to have a blue arrow pointing to B1 and an orange arrow pointing to B2. How could I do this? \documentclass[tikz,...
0
votes
1answer
35 views

Text overlap in nodes

I've created a tikzpicture that has a lot of nodes. These nodes are sometimes close to eachother and my text is overlapping. This is my output: What i want to have is this: The text lines under ...
3
votes
1answer
60 views

Using node style color in foreach loop messes the node label text up. Why and how to fix?

Trying to use \foreach for node placement and coloring fails. Node label becomes e.g. redredcaptionA where red is the desired color and captionA is the node label text. Desired result would be a node ...
2
votes
1answer
48 views

pgfplots: how to bring all node plot annotations to top in proper way?

I'm plotting many almost parallel lines (in the MWE I'm just plotting random stuff), where I am using the very convenient node[pos=0.x]{label} option to annotate my graph. The issue is, that multiple ...
1
vote
1answer
39 views

Tikz: How put text at specified location?

How do I correct the 3 lines with \node expressions immediately preceding \end{tikzpicture} so that the indicated "labels" a, b, c are near the points described in the trailing comments ...
2
votes
1answer
51 views

Tikz arrows/node not displaying properly with Beamer

Working on a presentation where I need to have explanations pointing to parts of an equation with an arrow. Tried copy-pasting the following 2 examples: https://texample.net/tikz/examples/beamer-...
2
votes
0answers
58 views

Tikz borders not working after using the package Polyglossia

First I tried this bit of code, it's working fine, the results are as expected: \documentclass[a4paper]{scrartcl} \usepackage{tikz} \usepackage{tikzpagenodes} \usepackage{scrlayer-scrpage} \usepackage{...
1
vote
2answers
73 views

tikz and nodes drawing

I would like to extend this "nodes" example by adding 6 more nodes but I could not see the logic behind this sample code. I could not get the relations of (a), (b) and (c) and how they are ...
2
votes
2answers
84 views

Isosceles triangle in circle with angle and text - in tikz

Im a newcomer to tikz and I've been playing around with it for some time now. For some presentation I need a representation of an isosceles triangle in the unit circle. The only thing I got so far was ...
2
votes
1answer
90 views

Nodes does not align at the same height on tikz

How can I align these nodes with text? I tried this, drawing nodes at the same height, but are not aligned \documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}...
0
votes
0answers
45 views

I want to identify specific words in a sentence and draw an arrow from one to the other

I'm trying to use tikz to draw a curved arrow from "he" to "John". I'm almost certain that the problem is using a node within a node, but I can't think of another way to do this. \...
3
votes
2answers
102 views

Place a Tikz node on an arrow in a chemfig reaction scheme?

I need to find a way of putting a Tikz node inside the label of a reaction scheme, allowing me to represent the electron movement from a reagent to a catalyst, such as in this situation: \...
1
vote
1answer
72 views

How to properly include a tikzpicture inside another tikzpicture?

I have a command to create a sort of box that I use to write various things such as definitions or theorems. It involves writing the content of the box inside a tikzpicture to style the box the way I ...
1
vote
3answers
80 views

label arrow for tree diagram

Kindly I want to ask how I can plot a diagram like the attached one on latex? Thanks Here is what I have already done: \begin{tikzpicture}[>=latex'] \tikzset{block/.style= {draw,rectangle,...
1
vote
1answer
73 views

Add another level of compass anchors to standard TikZ nodes with TikZ 3.0

I am new to StackExchange and I cannot ask for clarification in the comments, so I had to open a new question for this. I am interested how the accepted answer to Add more anchors to standard TikZ ...
1
vote
2answers
42 views

Centre child node next to two parents on the same height as grandparents

So I am making a tree for my thesis with the following code. I could not find a lot of answers on find how to link a child ("niveaus") to two parents ("soft skills" and "hard ...
0
votes
1answer
47 views

How to put a text in particular position of an image?

I'm working with overleaf and trying to add texts in these red marked positions. For example, I want to add 4,5 and 6 respectively. I've tried with \put(0,0), but it always disables the \resizebox ...
1
vote
1answer
50 views

Name in the dotted arc

In the attached picture, we need to have 'a' in the dotted arc. Below is the code. \begin{tikzpicture} [scale=.9, auto=left, every node/. style={circle, fill=black!70, minimum size=0.1cm, inner sep=...
0
votes
0answers
16 views

Finding node positions by using mouse pointer

Sometimes I have to replace some labels in figures with other labels, due to font differences. Usually I do that by creating a new tikzfigure and include the figure there. Afterwards I place white ...

1
2 3 4 5
26