Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
2k views

Dotted/Dashed text

is there a way to write dashed or dotted letters such that they appear like normal but dotted or dashed? i mean no word art or such things which i get when i use \pdfliteral{q 1 Tr [0.1 .8]0 d}#1\...
4
votes
0answers
694 views

Arrow box aligment

I have to align vertically "arrow boxes" in the picture below? So I have two questions: How to read "inner sep" register value and bounding as well connecting lines thickness register values of ...
3
votes
0answers
122 views

PDF version <1.7>, but at most version <1.5> allowed

I used a C++ function my teacher gave us to create some ppm files, which I then converted to the eps format using an online resource for use in my report. However, these images are causing problems. ...
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{...
2
votes
0answers
38 views

Tikz: Line trajectory joining two nodes

I am drawing a line linking two nodes. I do not understand the strange behavior of the line. Why the line pass the arrival point and then back to the final point? \documentclass{article} \usepackage{...
2
votes
0answers
72 views

how to remove all space around a text?

I need sans serif text inside nodes to be "perfectly" left aligned in a tikzpicture environment. This code illustrates my problem: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \...
2
votes
0answers
71 views

Evaluate variables for positioning multiple times

Here is a working code (I'll describe it just after) : \documentclass[border=2pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{graphics} \usepackage{tikz,pgfplots} \...
2
votes
0answers
132 views

How to define new anchor border in new shapes with tikz-pgf

I'm trying to build a libray of symbols by means of defining new shapes in pgf-tikz. To be honest, it's being a enormous task for me because I don't understand lot of things of code to do it. ...
2
votes
0answers
80 views

Grouping trees and graphs with nodes

I would like to draw a tree as in the picture: Could you help me please? What I have so far: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{tikz} \...
2
votes
0answers
330 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' ...
2
votes
0answers
166 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 ...
2
votes
0answers
107 views

Tikz behaviour at page end

I am using tikz to put braces around an enumerated list as mentioned here. I have two curly braces with multiple comments as shown below The problem is I am not able to get the braces at the right ...
2
votes
0answers
332 views

problem when using scope and rotate with tikz

I wish to take this picture with tikz turning figure generally this type of scheme does not ask me problem and I wrote the following code \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
2
votes
0answers
111 views

Working with lengths in node shape definition

This question is a bit tricky. I am trying to build symbols of flow charts for pneumatic circuits. I don't need that many elements, but I would like to be able to extend my collection similar to what ...
2
votes
0answers
118 views

How to print gnuplot fit params in a tikz node?

I have defined a macros for curve fitting and plot as: \newcommand{\logfit}[4]{\addplot[no markers, black, line width=0.15pt] gnuplot [raw gnuplot] { %command for log fit f(x) = b*log(x) + c; b=0; ...
2
votes
0answers
153 views

How can I make the node order for references in TikZ not matter?

Question I am wondering if it is possible to make the order of nodes irrelevant, such that references work regardless of when they are mentioned...like some kind of pre-parsing of the code that ...
2
votes
0answers
153 views

How to automate right node alignment for labels from table AND marker size AND marker color of scatter plot?

Problem: Labels from table are placed right, but overlap. Is there a way to automate alignment of the labels near nodes so that labels do not overlap? This is a small example but I have bigger table ...
1
vote
1answer
26 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 ...
1
vote
0answers
89 views

Avoid edges and labels overlapping automatically

I would like to avoid edges and labels overlapping. I have seen different solutions, but all of them need manual adjustments. However, I need to produce several graph like the one below and find it ...
1
vote
0answers
115 views

Custom checkbox symbol

Consider the following MWE: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[line width=3pt,rounded corners] (0.75,1)--(0,1)--(0,0) -- ...
1
vote
0answers
200 views

Creating a custom node shape with a variable number of anchors

For the sake of training my self on PGF, I want to create such node shape having multiply ports with a selecting switch as shown below This is my attempt to create this node for a particular number ...
1
vote
0answers
121 views

Making a working neuronal network

I've got the following two MWE: \documentclass[border=5pt,tikz]{standalone} \begin{document} \begin{tikzpicture} %%% %%% %%% %>> We are building a perceptron ...
1
vote
0answers
84 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 ...
1
vote
0answers
108 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
0answers
243 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} ...
1
vote
0answers
86 views

How to properly place figure in a subsection?

I am new to latex. Actually i am using pre defined template for making graphs for my Advanced Algo Course. Here is my code for drawing graph within a square. \begin{figure} \begin{tikzpicture}[scale=...
1
vote
0answers
198 views

How to write colon in the name of a node

I want to have have ":" in the name of one node but my compiler hanged when I put ":" there. I mean the following code in okay \begin{tikzpicture} \node[] at (5.1,-1) {$Z_t^{1 N}$}; \end{tikzpicture}...
1
vote
0answers
107 views

How to return a list of connected nodes? Tikz

I am building a graph with nodes and edges in Tikz. Is there any commend which returns array of connected nodes to a particular node? for example, I have 3 nodes A,B,C and only A and C are connected ...
1
vote
0answers
1k views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of \documentclass[tikz,border=2]{...
1
vote
0answers
96 views

Coordinate naming in custom Tikz package

I want to make my own Tikz library/package or just a set of commands for making hydraulic diagrams within the Tikz environment. Say I want to draw a valve like (b) with the notation for the nodes in (...
1
vote
0answers
543 views

How should I read the current TikZ “label distance”?

I decided that I don't like the behaviour of the label functionality of TikZ. I want to get labels that are positioned using the anchor opposite the specified label angle. So for example if the label ...
0
votes
0answers
21 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{...
0
votes
2answers
67 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
0answers
85 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)....
0
votes
0answers
46 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. \...
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 ...
0
votes
0answers
35 views

Dynamically Add Nodes With Equal Gap?

Context: Resume I am using a Tikz Node as a black-button-white-text style tag as seen below: The horizontal gaps are my issue, I would prefer them to "slot in" nicer -- I have tried the \...
0
votes
0answers
102 views

TikZ: text along path as node (again)

I would like to ask again the following question: TikZ: text along path as node That question was answered with a solution which was good enough for OP at the time. I would, however like to have an ...
0
votes
0answers
313 views

TikZ Graph with Graphdrawing and Layered Layout: Nested Nodes do not work at all

I am using TikZ with the libraries graphs and graphdrawing together with the grid layout to generate graphs where the nodes are placed automatically by libraries. Everything, except one thing, works ...
0
votes
0answers
83 views

Node position adjusting with math

It's been a while and I'm getting back into circuitikz. I'm trying to make a simple block diagram, here is my code. \begin{tikzpicture}[auto, node distance=3cm,>=latex'] \node [input] at (0,0) (...
0
votes
0answers
86 views

Placing Node Somewhere Along A tikz Plot

I was looking at the tikz/pgf manual (section 22.5), and they have the code \begin{tikzpicture}[domain=0:4] \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9); \draw[->] (-0.2,0) -- (4....
0
votes
0answers
267 views

Best practices for drawing a planning graph diagram?

I am currently trying to represent the following diagram in tikz. However, the the representation does not have to be identically the same. I am mostly wondering about the easiest ways to build up a ...