{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

-1
votes
0answers
81 views

How draw an add-two shape? [closed]

I have two shapes: (x0,y0) (x1,y1) ..... end is join to x0,y0 ... How get shape who is additive this two shapes?
4
votes
1answer
495 views

CircuiTikZ: draw transformer without conductors going to the side

I would like to draw a transformer in CircuiTikZ without the small parts of conductor going to the sides. Left: Current situation. Right: What I want. Code: \documentclass{article} ...
3
votes
1answer
306 views

TikZ: adding a node to a plot

\documentclass[convert = false, tikz, usenames, dvipsnames]{standalone} \usetikzlibrary{backgrounds} \tikzset{ partial circle/.style args = {#1:#2:#3}{ insert path = {+ (#1:#3) arc (#1:#2:#3)} ...
3
votes
1answer
403 views

TikZ: labeling a small arc

How can I automate labeling a small arc? \documentclass[tikz, convert = false]{standalone} \begin{document} \begin{tikzpicture} \draw (0, 0) arc[radius = .25cm, start angle = 0, end angle = 30]; ...
5
votes
0answers
317 views

Tikz nested nodes position [closed]

(Edited as suggested) I have following code involving connected nodes: \documentclass{article} \usepackage{tikz} \tikzstyle{every picture}+=[remember picture] \begin{document} \begin{equation} ...
7
votes
1answer
4k views

Tikz node alignment

How can I align (or shift) Tikz nodes? I have the following figure (see below), which consists of multiple horizontal nodes. I want to align the data node with top/bottom of nodes A-D (i.e., red ...
7
votes
1answer
367 views

Trees in latex : Depth of 4 nodes

I am following the current tutorial (MWE) : link However, I am facing difficulties to perform a tree of 4 nodes. Items are superposed, and even if I add a child [missing] {} it doesn't solve the ...
1
vote
0answers
79 views

How to gradually unveil a tikz node from its background [closed]

I would like to gradually unveil a tikz node from its background (like an animation, from un-noticable to gradually clear). One strategy could be to gradually reduce the opacity level of the node, ...
0
votes
1answer
157 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 ...
5
votes
2answers
181 views

Arc around a node in TikZ?

I have the following code: \documentclass[12pt, openany]{memoir} \usepackage{amsmath} \usepackage{tikz} \begin{document} \[ \begin{tikzpicture}[node distance=2cm,auto] \node (A) ...
8
votes
3answers
1k views

how to draw nodes with same size

I would like to make 12 nodes with same sized circles. Currently, the radius of a circle for single digit number and two digit numbers are different. Let r1 be the radius for single digit numbers. ...
5
votes
2answers
620 views

TikZ: Make node height span several others

How can I make the Z node span the total height of the ABCD column? My current code is: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc,positioning} \begin{document} ...
4
votes
1answer
169 views

problems with tikz and arabi package

I have some problems and I hope you can help me. When I put a tikzpicture and use the arabi package, the picture is not displayed in the dvi or pdf file, and this without a single error. I have a ...
3
votes
1answer
1k views

Hide Tikz node in Beamer

I am using Tikz to create a flow chart for a Beamer presentation. I managed to get Beamer to uncover each item in the flowshart one by one, but I would like to be able to show one node and then hide ...
72
votes
1answer
11k views

Manual/automatic line breaks and text alignment in TikZ nodes

How can I insert a line break in a TikZ node? Simply putting \\ where I want the break doesn't work (see MWE). Is there a way to make lines break automatically at some specified width? And can I ...
3
votes
2answers
113 views

TikZ: is there a better way to represent the following node content

Consider the code below: \documentclass[convert = false, border = 1cm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[font = \scriptsize] at (-3.5, 4) {Position of $S_2$ ...
3
votes
1answer
136 views

Special Axis Style Customization

I want to design a special axis label style. The x-axis is a straight line, no arrow. Below the end of this line is the actual label, it consists of an arrow with the label in the middle of the arrow. ...
9
votes
1answer
241 views

Perfect overlapping of dotted nodes in matrices

If you have a TikZ matrix of nodes, where every node is dotted, the dots do not overlap properly. Please see the attached code: \documentclass[margin=1cm]{standalone} \usepackage{tikz} ...
2
votes
1answer
352 views

TikZ: node placement when using draw let in syntax

When using the \draw let ... in syntax to construct an arc between 2 lines, the arc is placed in the correct location even if the arc's focal point isn't the origin. However, this isn't the case with ...
3
votes
1answer
144 views

TikZ: trouble with node placement when I want to reference from a point other than the origin

\documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ every label/.append style = {font = \scriptsize}, dot/.style = {inner sep = +0pt, shape = circle, draw = black, label ...
2
votes
1answer
217 views

How can I use fork style edges with explicitely positioned TikZ tree nodes?

As part of a graphical export facility, I try to render a tree in TikZ were all the node positions are exactly given and were the edges are fork-style. Doing that without the trees package demands ...
1
vote
0answers
65 views

Tikz: Combining nodes (creating a matchstick object) [duplicate]

I'm a newbie trying to learn some basic tikz usage. I'm getting along pretty well with the manual, but it seems I'm overlooking something as this question seems basic to me and still I can't find an ...
2
votes
0answers
49 views

TikZ: alignment of a path that exits node corner? [duplicate]

Why does a path drawn from corner of a node doesn't align with the node path? It might even be non-horizontal while coordinates tell that it is. Who can I fix this? \begin{tikzpicture}[thick] \node ...
3
votes
1answer
419 views

Adding labels to a node in a matrix and change the position of single matrix cell to create a flow chart

I want to add two labels next to the diamond shaped node. One to the right saying "Ja" above the path and the other one below saying "Nein" right next to the path. Currently it seems like that two new ...
5
votes
1answer
145 views

Strech the text to the borders of a node by using \hfill

The text inside the nodes is not streched to the right side of the node by using \hfill. Could it be the reason that it doesn't work with font=\tiny? But I need the text that small and I would like ...
2
votes
1answer
163 views

TikZ: Keeping nodes clear from lines

I set all nodes and coordinates that I can be set right away in the at the top of the TikZ picture. However, a line can obstruct the node. If the node is after the line, I could use fill = white ...
1
vote
1answer
85 views

Change node distance using a macro and include a label to the background next to the nodes

the picture doesn't fit onto an A4 page. So what I would like to change/add is: the node distance the font size a vertical text which groups nodes together a number infront of each node as the ...
3
votes
2answers
162 views

Can't reproduce sequence alignment using TikZ?

I'm new using the TikZ package. Can someone help-me to reproduce this matrix 1 using Tikz? More precisely the step in figure 2. I tried to do it with matrix but I can't put the number 1 [above ...
5
votes
1answer
205 views

What is the best way to name nodes in TikZ?

I found there are several ways to name a node (please relate to the MWE for the different numbers) but I am wondering if there are other (rather "simple") ways of doing this: My current 'best ...
2
votes
1answer
204 views

TikZ: Accessing coordinates from coded points

Consider the code below. In the scope environment, I am using a clip to keep the ellipse between the points. From reading, I know with the let command I can access the coordinates of the points by ...
4
votes
2answers
452 views

Tikz coordinates relative to a node, and outside it

Given a rectangular node X I have access to the coordinates (X.north), (X.east) and the like. However, I want to be able to draw two sides of a right-angled triangle on top of the node. For example, ...
8
votes
1answer
395 views

TikZ: Node placement best practices in an already cramped figure

How can I place more nodes in an already cramped figure? Here is intended outcome: Here is my current figure: I am looking to add the velocity vector notation and the time notations (t_f < ...
6
votes
3answers
1k views

Overlapping nodes in tikz

I used to make a chain diagram in tikz, like described in the manual p. 59 ff, but in contrast to the manual, my nodes are overlapping. I tried to use the "node distance" option but i doesn't seem to ...
6
votes
1answer
459 views

How can I create a queuing node using tikz?

I am a newbie trying to recreate an M/M/1 queue in tikz and would really appreciate any help.
3
votes
1answer
723 views

Alignment of tikz nodes in a chain

How can the north anchors of the nodes in a going to the right chain be aligned in a tikz picture? As can be demonstrated by the following example, by default they seem to be aligned by the center ...
7
votes
1answer
710 views

rotate node shape in tikz

Edit 1 Claudio gave a nice solution to my question. But the image should be included in a beamer presentation. I use for that the option transform canvas={scale=0.5} and this has a side problem ...
6
votes
1answer
503 views

Tikz: placing a node at the intersection of two circles along a hyperbola

I know one can use the intersection package to find the point of intersection but I don't understand how to do it yet. I would like to label the increasing order of the intersections F^*_2, F^*_1, ...
7
votes
4answers
734 views

Tikz: drawing concentric circles with specified origins and the arc that connects the intersections

I would like to draw a few concentric circles with origins of P1 and P2 where all the circles are greater than the minimum distances. The min distances is where the circles will touch at one point ...
7
votes
1answer
700 views

Styles in TikZ trees not working as expected

I want to draw a "cut-out" region of a tree, and visually underline this by having dashed edges on top and on the bottom of my diagram (to symbolize the levels further up and further down). I am ...
9
votes
2answers
3k views

tikz center node below 2 other nodes

I want to create a node below 2 other node but place it exactly in the middle of the two nodes. Here's what I have so far... \documentclass[12pt]{article} \thispagestyle{empty} ...
4
votes
1answer
146 views

Equal separation between south of one node and north of another

I am new to TikZ and am trying to get these three boxes with equal spacings between the outer frames of the boxes such that the two arrows are the same length. I am going to have a flow chart with ...
4
votes
1answer
1k views

Calculate numerical value for node text in TikZ

I am using a tikzpicture environment to draw a Temperature v composition plot. I do not have exact data so am only mimicking it. I am aware that I could/should use pgfplots but the issue could be ...
6
votes
1answer
153 views

text in different arrows

maybe someone can help me to get text in arrows and textboxes below I have just get the arrows like this... \begin{tikzpicture} \draw[thick,black](0cm,0) -- ++(0:3cm) -- ++(45:1cm) -- ++(135:1cm)-- ...
7
votes
2answers
395 views

TikZ shaded translated regions defined by boundaries of shape nodes and lines

Given a lattice made up of shapes, how do I shade the regions (and their translates) defined by the boundaries of these nodes and lines going through these shapes? In my particular case, I have a ...
3
votes
0answers
47 views

Tikzpicture: Fill refuses to work with integer node names [duplicate]

I want to create a 3D-grid of named nodes using nested for loops and then fill some polygon based on the names. For some reason tikzpicture doesn't fill the polygon, although it draws the path ...
3
votes
2answers
208 views

How to make Tikz Node Content fit?

I'm trying to make a decision tree with Tikz, but the text in my nodes overlap. Does anyone know how to fix that? Thanks so much! \begin{tikzpicture} \node {{Lorem ipsum dolor sit amet, ...
2
votes
1answer
557 views

Nodes near coords gives Undefined Control Sequence

I have the following example of a graph. I want to place the items in the table "Restart" next to the nodes. Everything works until I add "nodes near coords", I get a bunch of errors saying "Undefined ...
2
votes
3answers
145 views

Drawing a root-less graph of nodes with shared children

My aim is to produce a graph as illustrated by the code below: ( I am not yet allowed to post pictures) \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[node distance=4cm] ...
1
vote
1answer
176 views

Define tikz node based on pagenodes

I want to define a tikz node called current grid area based on the nodes defined by the tikzpagenodes package. This node is a rectangle that contains the 4 nodes defined in the package; current page ...
3
votes
1answer
4k views

How to define the default vertical distance between nodes?

Use positioning can control the individual vertical position of nodes. But is there any way to control the default vertical spacing? \documentclass{article} \usepackage[utf8]{inputenc} ...