Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Placing Nodes in a Path Picture

Unfavorably all thirteen ports of my rack switch are placed in the middle of the path picture on top of each other. How can i place the ports side by side like the numbers. \documentclass[tikz,border=...
2
votes
1answer
23 views

Tikz - Rounded rectangle node position start arrow in middle

I draw this simple graph: \documentclass[crop,tikz,convert={outext=.svg,command=\unexpanded{pdf2svg \infile\space\outfile}},multi=false]{standalone} \usepackage{tikz} \usetikzlibrary{positioning, ...
0
votes
1answer
21 views

Simply add more space between node and its content

Let's say I create a node at a specific coordinate and I want its content to be displayed at 2 cm from it's coordinate. What is the simplest way to do this?
5
votes
2answers
116 views

How to make a node grow differently when other nodes are forked

I am a beginner in latex and am very interested in exploring it's wide range of features. I wanted to build a family tree and decided to use the forest package. I use this manual - forest_doc. I ...
0
votes
0answers
47 views

What is supposed to be written in the last {} of \node?

Say for example I have this line: \node[label={[scale=0.5]center:hello}] at (3.6,3) { }; In a generic case, what is the last {} for?
0
votes
1answer
19 views

Tikz: How to remove bullets from line and how to draw lines to a node without having a space

I'm trying to draw a simple schematic in tikz and am facing two problems: As you can see in the picture below, the horizontal line doesn't connect to the vertical line, where I put a node straight on ...
1
vote
2answers
71 views

Tikz arrows covering text

The images linked below show what I want to do and what I get. I'm completely new to Tikz. What am I doing wrong? \text{det}\left[\begin{array}{ccc} a_{11}\tikzmark{a11} & ...
2
votes
1answer
30 views

Relative position between \draw and axis

\begin{tikzpicture} \begin{axis}[ axis x line = center, axis y line = center, xmin = -3.0, xmax = 5.0, ymin = -3.0, ymax ...
-1
votes
1answer
100 views

How to create this flow chart directly in LaTeX?

Is it possible to create flow charts with forest or tikz?
3
votes
2answers
146 views

How do I position nodes that are created using tikzstyle

I need to draw a network topology diagram showing subnets, servers inside the subnets, and databases etc. I have been looking at various examples of using TikZ to draw diagrams, but I am uncertain how ...
1
vote
1answer
74 views

Copying nodes in Tikz

Something strange, or something that I don't understand, is going on. When I try to copy a very simple graph consisting of two nodes connected with an arrow, the following happens: At the left (Cases ...
6
votes
1answer
148 views

Heatmap on a network

Is it possible to create the network heatmap using LaTeX as the one below? The node size vary with the "Wait" field in the NodeData and link color changes according to the "Flow" ...
1
vote
1answer
37 views

How to change spacing between nodes that were drawn with Tikz?

I have a grid of nodes labeled "orthographic layer" whose spacing I would like to modify. There is too much space between the nodes, and I would like it to look more "grid-like". ...
1
vote
1answer
31 views

How to increase space between nodes in a tree diagram

I need to create a tree diagram, but when I write on a node this happens: Here is the code: \documentclass[12pt, oneside, article]{memoir} \usepackage[utf8]{inputenc} \usepackage{amsmath, amssymb, ...
3
votes
2answers
116 views

TikZ: Create a node (PSE-cell)

What is the best way to create one TikZ-node like this? \documentclass[border=5mm]{standalone} \usepackage{tikz} \pgfmathsetlengthmacro\cellwidth{12mm} \begin{document} \begin{tikzpicture}[ Cell/....
2
votes
2answers
158 views

Drawing irregular polygon around flow chart nodes

Could I please get some help on drawing an irregular polygon around flow chart nodes. I saw a manual way of drawing the polygons using a coordinate system but this is a bit impractical with flowcharts....
1
vote
1answer
29 views

Create and Align Node Labels, then Add Square Brackets and Label Under Nodes

I have the below code: \usepackage{tikz} \begin{document} \maketitle \section{Introduction} \usetikzlibrary{fit,positioning,calc,arrows,backgrounds, shapes.misc,snakes} \begin{tikzpicture} \node ...
0
votes
1answer
32 views

How to automatically assign a range of colors to children of a single mindmap node?

In mindmap we define each child node ourselves, but I like to specify some of the attributes of child nodes in their parents, one of the most important attributes is their color. For this, we can say ...
1
vote
1answer
41 views

TIkz Generated Graph Node Coloring

I have the following graph and I was wondering how I could color each node with different colors. \documentclass[border=2cm]{standalone} \usepackage{tikz} \begin{document} \begin{...
1
vote
1answer
19 views

forest - Put the parent nodes at the top level

With the code below, I would like to put the parent nodes at the top. Is it feasible? % Source: https://tex.stackexchange.com/a/593383/6880 \documentclass[border=3.141592]{standalone}%{article} \...
5
votes
3answers
176 views

Tikz : Creation of complex custom node

I've come again to pic your interesting brains. I am trying to make a custom node with a drawing I've made \documentclass[tikz, margin=3mm]{standalone} \usepackage[utf8]{inputenc} \...
0
votes
0answers
20 views

how to configure amount of the number of digits after the comma [duplicate]

I'm drawing this plot via overleaf. This is the code: \begin{figure} \resizebox{0.5\textwidth}{!}{% \begin{tikzpicture} \begin{axis}[ symbolic x coords={FasterRCNN,Yolov5,EfficientDet,...
1
vote
1answer
29 views

Align two trees in TiKZ (states/nodes)

In the following graph, i would like to align the tree with the states 11,12, 13, 14 such that 11-14 is a vertical chain, with state 11 being right of state 1, state 12 being right of state 3, state ...
2
votes
2answers
37 views

Connect interseption points with arrows in foreach loop in pgfplots

I am looking for a way to draw arrows between each point in a sequence of points calculated in a foreach loop as intersections of vertical lines with a graph inspired from here. \documentclass[border=...
0
votes
2answers
37 views

Positioning node in pgf plots

I would like to move the node that shows the function rule to the top right of the plot, also preferably boxed. How should I do this? Compilable Code: \documentclass{article} \usepackage{pgfplots, ...
1
vote
0answers
51 views

Why not work the (TikZ) node with this code? [closed]

I have this code, and I want to add node near by the points. But the texts is always on the 0,0 point. \documentclass[10pt,a4paper]{article} \usepackage{tikz} \usepackage[left=2cm,right=...
1
vote
1answer
51 views

Scaling a picture on Tikz

I’m trying to scale my TikZ picture so it can fit the first page of my document. I already tried to add [scale=.8] after where it is written \begin{tikzpicture} but apparently it does not work. Does ...
0
votes
1answer
55 views

Graph animation with nodes composed of several nodes

I asked this question Graphs in beamer. I need to make a graph like in the image below. This is part of a directed graph which has lots of nodes, edges that intersect and nodes that make the edges can ...
0
votes
1answer
74 views

Graphs in beamer

I have to draw a graph for a presentation I will do in beamer, the nodes of the graph are like in the image below. Is it possible to make a graph with this kind of nodes in latex? How could I draw ...
1
vote
1answer
34 views

Named tikz node inside forest node for reference

I am putting up some syntax/semantics trees with explanations and things. At first I created a node tree with tikz which meant I could easily point at chosen nodes to clarify those nodes. However, I ...
0
votes
1answer
42 views

Tree diagram with nodes information

I have this tree diagram but I need to add extra information in each node (stuff like 7+2+3=12) so I need to make the node larger for the info to fit in nicely. How can I write this kind of ...
0
votes
1answer
42 views

How to connect nodes with without straight lines but 90 degrees and rounded corners?

I want to connect some nodes but without straight lines but with 90 degree angle and to have it rounder. So far I have the following: \usetikzlibrary{arrows,positioning,shapes.symbols,shapes.callouts,...
2
votes
1answer
49 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
23 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
69 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
114 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 ...
3
votes
1answer
64 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
31 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
14 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
42 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
79 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
48 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
32 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
76 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
79 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
30 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
80 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
81 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
124 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
46 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 ...

1
2 3 4 5
27