Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
0
votes
1answer
150 views

Arrow code not working

I can't figure out the code to put labels with arrows on my plot, and can't seem to find a manual for it. I just want a label 'text' to be positioned at one point, with an arrow coming from the right ...
0
votes
1answer
47 views

How to draw a figure which looks like this

The figure is basically three cycles on 'n' vertices which are adjacent to each other as shown in the figure
0
votes
1answer
27 views

How to prevent misalignment of a vertical column when a node label is displayed

I am trying to make a vertical column of various moon phases using a macro that generates circles, but when I add a node label to a circle (to designate that it is a full moon) it shifts the circle ...
0
votes
1answer
890 views

TikZ: Move text a little higher

What do I have to change in the following definition, so that the text is a little bit higher? \newcommand{\header}[3]{% \begin{tikzpicture}[remember picture,overlay] \node [rectangle, fill=...
0
votes
1answer
471 views

Remove white space from empty nodel label in tikz-qtree?

With empty nodes in tikz-qtree how do I remove the white space where the node label usually appears? In the following example I want to remove the white space for the node under Foot 3. \...
0
votes
1answer
406 views

How can I connect centers of nodes defined using let in a foreach loop?

I want to create a star polygon using a \foreach loop to make nodes for the vertices and another \foreach loop connecting, say, every 4th node. \documentclass[12pt]{amsart} \usepackage{tikz} \...
0
votes
1answer
916 views

Tikz: How to combine orthogonal edge syntax with coordinate calculation? [duplicate]

I'm trying to combine the syntax for orthogonal edges (p |- q) with the syntax for calculation relative coordinates ($ (a) + (1,0) $). Example: \draw ($ (node1.south) + (1,0) $) to ( ($ (node1.south) ...
0
votes
1answer
228 views

How can I place a line/arrow on an enlarged node's edge?

I'd like to connect the nodes by their edges, meaning getting the arrow on abc's end to touch the rectangle's left margin. It worked flawlessly with wordsa but I haven't been successful in finding the ...
0
votes
0answers
15 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
32 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
28 views

I'm trying to add a small graph in document . However, it returns Package tikz Error: Giving up on this path. Did you forge t a semicolon? [duplicate]

\begin{tikzpicture} \draw[black] (0,0) -- (3,0) node[ pos=0.01,label=below:{-2}]{|} node[ pos=0.16,label=above:{+}]{} node[ pos=0.33,label=below:{0}]{o} node[ pos=0.48,label=below:{...
0
votes
1answer
32 views

How to extend length of certain arrows in a graph

I'm making a graph using the tikzpictures package. Unfortunately, my graph is a little crowded and forces me to use extra states to keep it clean and ordered. Is there anyway to extend the length of ...
0
votes
0answers
23 views

Node at upper right corner, minus 12 pts vertically, using mdframed and tikz

I discovered the mdframed package and have been toying with the framemethod=tikz setting to create a frame with some text in it. I'd like to place some text near the upper left corner, but set a few ...
0
votes
0answers
77 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
1answer
73 views

How to calculate the size of a tikz node

I'm trying to customize a template, in which the following snipet generates a "mini table of contents" respect to the book's part which is created. \node[anchor=south east,inner xsep=1.7cm,...
0
votes
0answers
178 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
66 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
1answer
64 views

How to use package setspace whit package hyperref, like this: \ node {\ href {https://google.com} {\ begin {spacing} {2} Text \ end {spacing}}}?

How to use package setspace whit package hyperref. because I've been getting the following error below when I try to generate the tex file described in my MWE: ! Missing \endgroup inserted. \...
0
votes
0answers
82 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
237 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 ...
0
votes
0answers
33 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
114 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 ...
0
votes
1answer
505 views

How to draw an envelope around a subset of graph nodes in TikZ? [duplicate]

I have an arbitrary graph and want to draw an envelope around/behind a certain subset of the graphs nodes. To clarify what I want to achieve, I have made a sketch in Inkscape: Any ideas how to ...
0
votes
1answer
332 views

How do I put labels on bars in a horizontal bar chart such that they are centered within the bar?

I am aware of nodes near choords, which is sufficient if the placement of the label is supposed to be relative only to the end node of a bar. What I am trying to do, however, is to have the label ...
0
votes
0answers
274 views

Styling parts of a split node in Tikz [duplicate]

Using the following code, I can currently produce the simple first multi-part node in the image below. Is there a way to set the style for individual node parts such as a different background color ...
0
votes
0answers
44 views

Graph not drawing correctly when within a node [duplicate]

I am having a problem getting a graph to come out correctly. \documentclass[journal]{IEEEtran} \usepackage{graphicx} \begin{axis}[ title={}, xlabel={$q$}, ylabel={Time /seconds}, xmin=6, xmax=13,...
0
votes
0answers
33 views

Multiline label for shape 'tape' in tikz [duplicate]

I would like to draw a tape in tikz with a multiline label in it. The normal way of just using \\ doesn't work here. MWE \documentclass[tikz,border={5pt}]{standalone} \usetikzlibrary{shapes.symbols,...
0
votes
0answers
433 views

How to debug the “Argument of \XC@definec@lor has an extra }” error in Foreach statement? [duplicate]

First, I draw three nodes each of which has three parts. Everything is OK. The code and the image are as follows. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{tikz} \...
0
votes
0answers
59 views

How to declare new path commands in TikZ? [duplicate]

The TikZ Manual, section 59.5 and some very good questions on this site explain how to declare new shapes for TikZ nodes with \pgfdeclareshape{myshape} ... to later use them with \node[shape=myshape] ...
-1
votes
1answer
105 views

Multipart node with table-like structure, to represent inner structure of commit, tag or tree objects in Git

I would like to recreate a type of node to represent commit, tag or tree objects in Git, like the one below That is, I would like to have table-like internal structure of a node, representing ...

1
21 22 23 24
25