Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
5
votes
3answers
625 views

I am creating a flow chart and the flowchart goes out of the page border. Could someone help me?

I am creating a flow chart and the flowchart goes out of the page border. Could someone help me? This is my code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{...
1
vote
0answers
76 views

How to move nodes's names and emphasize arrow tips?

I am trying to draw a Cayley graph for Z_8 and need some arrows. My problems : The names of nodes come exactly on the coordinators, is there a way of setting it to appear beside the coordinator not ...
3
votes
1answer
155 views

Is there any way I can control the line style of the outer circle and the base station separately?

I want to have a dashed circle with the base-station normally in block, un-dashed. \documentclass[tikz]{standalone} \usetikzlibrary{calc} \usetikzlibrary{decorations.pathreplacing,decorations....
6
votes
1answer
420 views

Underbracing on a set of points in a plot with pgfplots

I have two sets of points graphed in the same plot. I want to mark them grouped with an under- or overbrazing with a large curly bracket, as I have illustrated by hand here: I am looking for the same ...
1
vote
2answers
697 views

How to draw overlapping nodes

I'm new to LateX and I would like to draw a complex picture which includes a couple of nodes. I have simplified my problem. My main problem is with drawing overlapping nodes. I have the following code,...
2
votes
1answer
131 views

Add label to top of axis using Tikz Picture

I am trying to find a better way to add a letter above each point on a simple single axis. I got the result I needed using this: \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=...
2
votes
1answer
799 views

How to add nodes in pgfplot

I want to transfer the following picture to LaTeX, which is nearly complete. However I fail to add nodes/markings for h_0,025 and h_0,975 like in the picture. Whenever I add \node ... LaTeX just ...
3
votes
3answers
1k views

Reducing line spacing in a tikz-pgfplots node with line break

I am adding text with \node to a graph with the help of the pfgplots package. Inside the \node text I want a line break. From this answer a solution is to add a text width such as [text width=0] which ...
3
votes
2answers
509 views

How to label an intersection segment

I want to put a label (node) alongside a certain line segment which is the section of a line between the intersection points with another line. As an example of what I mean see the picture below, I ...
4
votes
2answers
414 views

Relative horizontal centering of nodes in tikzpicture

These are two separate but closely related questions. I have the following diagram: \documentclass[11pt,a4paper,oneside,notitlepage,tikz]{book} \usetikzlibrary{positioning,fit,calc} %... \begin{...
3
votes
1answer
131 views

Tikz: Compare coordinates of two nodes to determine coordinates of next node

I am currently making a flowchart to describe the dependencies of modules in an algorithm. There are several branches and these reconnect at some point. Because my algorithm is still changing, the ...
3
votes
2answers
239 views

What is a uniform, recommendable way to tell TikZ to “globally” let arrows not pierce the boundary of nodes?

Question. What do you recommend to have the arc(-arrow) start outside the node (b) and also stop outside the node (c) in which was created with \documentclass{amsart} \usepackage{tikz} \begin{...
12
votes
2answers
874 views

Personalize a rectangle node tikz

What I want to do is reproduce this example: and my code is the following (a little bit long, sorry): \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1] \...
1
vote
1answer
138 views

Connecting smartdiagrams' sequence diagrams

I'm completely new at TikZ and Smartdiagrams, and can't find any help to make the following diagram: Each of those items is a sequence diagram of only one item (they have to be sequence diagrams to ...
6
votes
1answer
251 views

Define style in TikZ

I have the following code \documentclass[tikz,border=5pt]{standalone} \usetikzlibrary{positioning,arrows} \definecolor{babyblue}{rgb}{0.54, 0.81, 0.94} \begin{document} \begin{tikzpicture} % heads ...
1
vote
0answers
100 views

Tikz picture with nodes and arrows

I have this code: \documentclass[11]{article} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amsthm} \usepackage{color} \usepackage{...
1
vote
2answers
56 views

How to selectively tell tikz that a node should acquire its coordinate by adding all coordinates of all enclosing tikzpictures?

There should be a recommended/standard/usual way to do (what is suggested by) the following: \begin{tikzpicture} \node (tikzpicture0) at (0pt,100pt) []{ \begin{tikzpicture} \...
1
vote
0answers
170 views

Layer Recurrent Neural Network - Matlab design [closed]

I'm new to the Tikz package and I'm trying to get a better understanding of it by looking at several examples. However, I have not been able to reproduce the following diagram, as it is presented on ...
4
votes
1answer
99 views

Trying to recreate the diagram below. Some of my boxes are overlapping or not spaced far enough away.

\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3.5cm, thick,...
2
votes
1answer
115 views

How to make TikZ remember the “sloped” option at later stages?

It is useful to have the "sloped" option in \begin{tikzpicture} \node (C0) at (0pt,0pt) []{$C_0$}; \node (C1) at (100pt,100pt) []{$C_1$}; \draw[->] (a)--(b) node [sloped,above]{\text{an ...
4
votes
2answers
544 views

Adjusting Nodes with Remember picture

I've got almost exactly what I want, but I can't figure out how to lower the j_1 so that it is in line with the equal symbol. What am I missing? \documentclass[a4paper,12pt]{article} \usepackage{tikz}...
0
votes
1answer
112 views

Placing a letter above dashed line [duplicate]

Im trying to create the following: I have tried: \draw [dashed] (1,1) -- (4,5)node[anchor=north west] {Line}; however i cant figure out how to place the word in the enter of the line and not in it ...
1
vote
0answers
245 views

Adding a new edge to Tikz graph breaks layout

Whilst laying out a flow diagram using Tikz algorithmic graphing capabilities, my code renders the following output (reasonably sufficient to convey the key ideas). Now, I intend to connect the 'no' ...
4
votes
1answer
287 views

Tikz - \graph command explicitly place one parent node below another parent node (connected to same child)

In the following Tikz flow diagram constructed specifically using the automatic placement of graphs using \graph construct (i.e. instead of placing nodes using the fit library), , how can I have ...
3
votes
1answer
482 views

TikZ: How to align node siblings with varying sibling distances?

I am trying to generate a simple diagram by using tikz. I couldn't figure it out how to set equal distance between sibling nodes to stop overlapping. The code that I have tried so far: \documentclass[...
0
votes
0answers
30 views

centered anchoring in TikZ automata [duplicate]

I am trying to draw an oriented regular polygon with TikZ/automata using the following code: \begin{tikzpicture}[shorten >=0.5pt, node distance=1.2 and 1.5, on grid,auto,>=stealth'] \def \p {10}...
0
votes
0answers
72 views

Tikz nodes inherit minimum width, what else? [duplicate]

OK, it may seem stupid, but I often have tikz nodes inside a tikz environment inside a tikz node. When the outer node has parameter minimum width set to non zero, it appears the inner node inherits ...
2
votes
0answers
306 views

LuaLaTeX runs out of memory [closed]

I have a very very long LaTeX file. It's 4536017 characters long and 2119 lines. It's basically one giant equation I generated with a Python script. My problem is when I run lualatex output.tex from ...
1
vote
0answers
181 views

How to redraw a node with new options later in a tikzpicture?

What do you recommend in order to first define a node, with content, and later redraw its content with new options (overriding the way it was first drawn)? Small pseudo-example: \begin{tikzpicture} ...
3
votes
1answer
258 views

Alignment of nodes in TikZ diagram

I am trying to draw a diagram in Tikz. Its structure is the same as the one of a general timeline arrow. I am having troubles aligning the nodes (that is, the written text entailed in the nodes). More ...
2
votes
1answer
113 views

How to add node above selected node in scope

I would like to add additional node (block [X] with arrow) at selected node [C] just like in the image: I have something like this, how can I do that? \begin{figure}[!h] \centering \begin{...
3
votes
1answer
559 views

drawing lines in tikz-timing

I'm having some problems getting my node locations correct using tikz-timing. I'd like the double-arrow line to be at the center of the pulse on both sides, instead of from bottom to top. Also, I'd ...
9
votes
2answers
1k views

How to invert a parabola bend in TikZ

Just a quick question. I'm trying to fill in a parabola shape in tikz. I've managed to make it work horizontally. However, when I do the same method vertically. There's a weird deformity that I can't ...
1
vote
0answers
167 views

Drawing McCulloch-Pitts Neurons [closed]

I'm looking for a latex package to draw McCulloch-Pitts Neurons and Neural Networks. I've searched the TikZ examples but did not find anything suitable. I need different style for inverted inputs (...
1
vote
0answers
131 views

Scaling tikz graph

I have a graph made with Tikz, it looks like this: I am trying to make it more clear which edge "xx"s belong to. How can this be done? First of, I have tried scaling the entire tikzimage as I would ...
3
votes
1answer
895 views

Arrow from node back to itself

I've tried to follow this question in search for how to draw an Arrow in a nice loop from one node back to itself, but I can't figure out why my code doesn't provide me a loop. In the code below, I ...
1
vote
1answer
112 views

How to exclude arrowhead from tikzpicture

I am trying to cut arrowhead from this image but without success. Secondly, is there any way to get the text left justified. \documentclass[10pt,a4paper]{article} \usepackage{tikz} \...
5
votes
2answers
206 views

Use layers when along with tikzmark

I can use layers as: Some \begin{tikzpicture}[baseline] \node [anchor=base,inner sep=0pt] (X) at (0,0) {Highlighted}; \begin{pgfonlayer}{background layer} \draw [fill=orange, fill opacity=0.9, ...
3
votes
1answer
443 views

Position two touching nodes at a certain angle

I have found multiple explanations of how to position two nodes at a certain angel, such as How can you position a node relatively to another in TikZ. My question now is: How can position the ...
3
votes
1answer
3k views

How to set distance between nodes in TikZ

I'm trying to draw a web graph for a paper, using TikZ to draw the individual pages as nodes. When I typeset, however, the graph sits in one small corner of the line, and the nodes are too close ...
3
votes
1answer
108 views

TikZ: Make “scopenode” compatible with matrix

Context: This question is a follow-up of Best practice for creating TikZ pictures with nested elements. Symbol 1 provided an answer to this question, where \scopenode is defined. \scopenode are ...
1
vote
1answer
107 views

Drawing arrows between content copied with Spy

I have a diagram made in TiKZ (with copied/mirrored parts using Spy). It looks like this: This was created with the following code: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{...
3
votes
1answer
217 views

Duplicating and mirroring contents in TikZ diagram

I have the following diagram, made in TikZ: This is the code for it: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning, fit, arrows.meta} \begin{document} \begin{tikzpicture}...
2
votes
1answer
2k views

Drawing an unfolded recurrent neural network

I am trying to create an "unfolded" version of this diagram made with tikz: This was made with the code: \documentclass[a4paper, 11pt]{article} \usepackage{float} \usepackage{tikz} \...
0
votes
1answer
1k views

PgfPlots creating bar chart from csv

Helo, I am working on my thesis, and need to include some performance numbers of software I wrote. I measured performance of several actions across multiple executions with different amount of data. ...
0
votes
1answer
41 views

Label a specific node

So, thanks to a user on her I managed to make a few graphs but I ran into a problem - why does: \node at (a.corner 2) {$x_2$}; put the label $x_2$ in the center and not by the node? Many thanks. ...
2
votes
1answer
199 views

pgfplots: Placing nodes to the right of scatter plot markers at fixed x-position

I would like to create a scatter plot with pgfplots, in which a text node is placed for every marker. The nodes should be at the same y-value of the respective marker, but at a fixed x-coordinate. The ...
2
votes
2answers
84 views

variable colsep in psmatrix | possible?

I frequently use psmatrix to create simple 'time-line' diagrams (see first figure in the MWE, below). For cases where the 'elements' of the time-line are equally spaced, this works well, and is pretty ...
9
votes
1answer
732 views

Tikzpicture: How to make an edge not cross a node in a graph?

\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,% main node/.style={draw,circle,minimum size=20pt, inner sep =1pt},node distance=0.5cm] % the vertices \node[draw,circle,inner sep=3pt,...
3
votes
1answer
287 views

child of tree with different color

How to modify the color in eany of the nodes in this snippet of tikz code? \begin{tikzpicture}[sibling distance=3em, every node/.style = { rounded corners, draw, align=right, top color=white, ...