{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

1
vote
0answers
214 views

pictograms, Iconography, scalable shapes, custom nodes, shapes

Hy, I'm building up my own iconography, a set of pictograms that represent ideas so that i can connect them to illustrate more complex systems. I would like some suggestions of which is the best ...
4
votes
1answer
1k views

TikZ: using name intersections to define a node

Two questions: What is going wrong with these nodes that are defined from the intersections? Can this be automated with \foreach syntax to find the other vectors for the 2nd point? I couldn't ...
4
votes
2answers
450 views

Different options for nodes for positive and negative bars in pgfplots

I am having a problem with pgfplots when I want to change options for my nodes. For example if I just want to increase the distance between the bars and the nodes I can use the yshift option and it ...
2
votes
2answers
252 views

Style inheritance in TikZ trees

As I read the rule for style inheritance in a tree (pgfmanual 18.4, page 215), the naked [rect] below should mean that the node labeled "empty" be rectangular. But it's not. What am I doing wrong? ...
1
vote
0answers
71 views

Tikz - how to include symbol in figure title [duplicate]

As part of my Tikz diagram, partly made of small orange squares, I want a title phrase including the orange square at end of it. I must be missing the "node" concept because the code below doesn't ...
8
votes
1answer
889 views

Tikz rectangle split widths

I would like to have a rectangle split in two and have the text width of one side be fixed instead of having the textwidth apply to both sides. I have the following. \tikzstyle{pblock} = [rectangle ...
3
votes
1answer
352 views

change font size in rectangle node but keep node size

I am trying to change the font size in a rectangle node but still have the rectangle a predefined size (the one of t=other rectangles). And also, I would like to left align in some nodes, and have a ...
6
votes
1answer
779 views

TikZ node connection in pgfplots axis

I have functions plotted in separate axis environments (from pgfplots). In each axis I define a node and I would like to connect these nodes. In this MWE it doesn't work: The node connection that ...
5
votes
1answer
194 views

Custom T shape in TikZ

I would to define a new "T" shape (i.e. the red and green shapes in the following image) so that I can then draw with TikZ the diagram below. Unfortunately I cannot figure out how to do. To be ...
6
votes
1answer
1k views

TikZ current page.north west shifted ~4pts?

I'm trying to draw a background grid on a page, but current page.north west is shifted down and to the right ~4pt. Anyone know how I can get the exact north west corner of the page? Here's an ...
8
votes
2answers
266 views

TikZ: using the pos = x in a node

Why doesn't the pos = x option work when the node is used in the plot command? \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw plot[domain = 0:2, samples = 100] ({\x}, ...
7
votes
3answers
362 views

How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?

I usually write macros when I need to draw many times a kind of figure. In the final document, I call the macro and then I always apply two transformations : a scale transformation to fit in the space ...
7
votes
1answer
312 views

Draw randomized tree in TikZ

I am trying to draw a randomized tree using TikZ, that is, I'm looking for a macro \randtree{NN}{x} that attaches a randomized tree of maximum depth x to a node named NN. The nodes need not be visible ...
10
votes
1answer
409 views

TikZ- best practice for line starting on a circle's edge?

I'd like to know how I can achieve the best seamless crossover between a node (in this case, a circle) and a line starting on that node. I would like the line to only touch the circle's edge. So far I ...
7
votes
2answers
224 views

TiKZ node name prefixes in scopes

I am using TiKZ to draw two copies of the same graph above each other, and now I want to add edges between a vertex in one copy and a vertex in the other copy. It suddenly occurred to me that it would ...
10
votes
2answers
132 views

If I have two nodes defined at the end points of a diagonal of a rectangle, how can I define nodes for the other two corners?

I have two nodes which I want to define to be opposite corners of a rectangle. I would like to be able to define nodes at the other pair of opposite corners. I tried the following, but it gives me ...
11
votes
1answer
179 views

Given four nodes forming a quadrilateral, how do I find the node at the intersection of the diagonals [duplicate]

I'm trying to find and name a node at the intersection of the diagonals of a quadrilateral formed by four other nodes. However, I'm not drawing a path. All I can seem to find in the tikz manual are ...
5
votes
2answers
417 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
4
votes
2answers
469 views

Creating a digraph with formulas instead of nodes

I am looking to make a diagram with lines similar to this one: Labeling Edges in a Weighted Digraph But I am trying to have a mathematical formula, which is the label, instead of being above the dot ...
3
votes
1answer
769 views

TikZ: Flow Chart

Kindly help this messy tikz flow chart. \documentclass{beamer} \usetheme{CambridgeUS} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \tikzstyle{block} = [rectangle, draw, text width=10em, text ...
2
votes
2answers
206 views

beamer, forest, bulleted list inside

How can I use a bulleted list in a forest environment \documentclass{beamer} \usetheme{CambridgeUS} \usepackage{tikz} \usepackage{forest} \begin{document} \begin{frame}{Conceptual model-functional GI ...
2
votes
0answers
135 views

TikZ shape definition from TikZ rather than PGF

Is there a way to define a TikZ shape using TikZ code rather than PGF? I'd like to have a gear shape (and some others) that I can use as a node and add text to it, have arrows go in and out of it, ...
-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
430 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
281 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
367 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
291 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
3k 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
323 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
78 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
150 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
170 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
858 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
559 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
162 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 ...
65
votes
1answer
8k 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
111 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
132 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
217 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
292 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
134 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
190 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
64 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
48 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
378 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
140 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
157 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
83 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
157 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 ...