{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

10
votes
1answer
4k views

Increase the thickness of node border in TikZ

Suppose I have a node in the shape of a circle. How can I make its border thicker? \node[circle, draw=blue!80, inner sep=0pt, minimum size=12pt] (1) at (0,0) {1};
5
votes
2answers
124 views

Labeling node values on the axes

I want to draw some curves and some special coordinates on the curves, then label the nodes on the axes. So far I have done it manually like this (it's a diagram for the Markowitz risk premium in case ...
19
votes
2answers
573 views

Meaning of bend right or left in TikZ?

The following code actually comes from the PGF manual. It works fine, but I have a difficult time in understanding it (I'm new to TikZ) \documentclass{article} % say \usepackage{tikz} ...
4
votes
1answer
120 views

How can I draw a *manual input* and *Multi-document* nodes in a flowchart using TiKz?

I am drawing flowcharts using TiKz. I have found a number of suggestions here and here. However, I have not found code to draw a manual input node (image source) I could eventually figure this out, ...
1
vote
1answer
177 views

Different height in different split parts + arrow positioning

\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes.multipart} \begin{document} \tikzset{every loop/.style={min distance=1mm,in=110,out=70,looseness=2}} ...
2
votes
1answer
774 views

Align text to top left in a TikZ block

I have a TikZ block defined. The text inside it is not getting vertically aligned to the top. The following is the code I am using: \begin{tikzpicture}[node distance = 6cm, auto] \node [block, ...
2
votes
1answer
141 views

Varying edge thickness

A couple of months back, I had asked a question regarding an elegant way of drawing a somewhat sophisticated graph. Thanks to the community I received tremendous help. To avoid repeating the whole ...
5
votes
3answers
318 views

Vertical space inside a TikZ node

I am trying to insert some vertical space inside a node (So it will be filled later). \node [draw,rounded corners,minimum height=5cm] (node1) {\underline{Case 1}}; This is giving this: However, ...
3
votes
0answers
104 views

Node colors change after building (texmaker pdf and real pdf looks different)? [closed]

I have tried (my own way) to make the example in the TikZ & PGF Manual for Version 2.10 (p. 68). When I build this code, the pdf-file does not look identical to the PDF viewer in texmaker. What ...
9
votes
1answer
282 views

TikZ - flowchart nodes alignment

I'm trying to code a flowchart and I'm almost there, but I can't get the nodes properly aligned. Lets say my flowchart has 3 columns: the nodes of the first are ok, but I need the nodes from 2nd and ...
3
votes
1answer
120 views

Drawing with scalable shapes

Prologue: this is not yet-another "how do you scale node shapes?" question, but a follow-up to the usual answers ("you kind of can, but it's awkward, and you probably shouldn't") in a specific ...
2
votes
4answers
200 views

How to clip a rectangle with multiple shapes (circle)?

How to clip a rectangle with multiple shapes (circle)? I need to create a complex venn diagram and need to clip the outer rectangle in a shape that is combined with multiple circle. Not sure how to do ...
12
votes
2answers
2k views

How to center one node exactly between two others with TikZ?

How can I center a TikZ node exactly between two others? Hypothetically, \node (a) {a} \node (c) [right of=c] {c} \node (b) [between={a,c}] {b}
1
vote
1answer
135 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 ...
2
votes
1answer
136 views

How to change the distance between a pin label and the pin line?

The distance between the pin line and the plot can be changed by inner sep. How to change the distance between the pin label and the pin line? \documentclass{article} \usepackage{pgfplots} ...
3
votes
1answer
286 views

Inserting floating text near decision tree arrows

How do I insert Yes and No beside the solid arrows? I tried putting node [near end, right] {Yes} after each node and child declaration but this just messes up the flow of the decision tree. Code ...
4
votes
1answer
167 views

How to draw search space tree in a dynamic manner

I am visualising the search space for a set of binary variables. I have done it for three variables before; and now I am extending it to six but seems a tedious work to do. Thus, I am wondering if ...
4
votes
1answer
144 views

How to make add tick to node in tikz

I'm trying to draw a simple timeline in tikz. Here's what I have: \documentclass[12pt,a4paper,bibtotoc]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} ...
3
votes
2answers
382 views

Reusing circuit code with nodes in TikZ

I'm new to TikZ/PGF (a week or so in), and am loving it. I've had good success making figures so far, but have a question about best practices for including multiple copies of a sub-circuit in a ...
2
votes
0answers
67 views

different coordinate frames for anchors and backgroundpath in node shapes?

I want to create a triangle shape for flow diagrams, so far I succeeded but the anchors I have defined are badly placed. This seems to be wired as I have just copied and pasted the code from the ...
5
votes
1answer
154 views

Drawing transitive diagram in Tikz

I am very new to Tikz. How to draw rounded arrows and nodes without rectangular boundary. I want to draw something like this:
5
votes
1answer
184 views

An overview of node positioning?

I've been making tikz pictures for a while now, and there seem to be a number of different ways to position nodes within a diagram. Absolute coordinates, east/west, left/right, the $ $ things, minimum ...
2
votes
0answers
71 views

Scalable node shape size

I can adjust the shape of nodes using commands such as minimum width or inner xsep, but these require explicit units. When I scale the entire figure (\begin{tikzpicture} [scale=0.5]) it does not scale ...
6
votes
1answer
157 views

Change filling of TikZ nodes in repeated picture

A diagram drawn with TikZ is used a couple of times and I defined a command for it. In the first picture I want to mark a subset of the nodes by filling them with light gray, and another subset of ...
2
votes
1answer
1k views

TikZ: Label nodes on to path

I use the to syntax to set a node in the horizontal middle between to other nodes. My problem is, that a label does not fit well at this middle node. Compare the label of node 2 and node 3 in the ...
4
votes
1answer
123 views

How to align block of nodes horizontally with TikZ

I have this figure with three rows of nodes. I would like to center the first and the third rows by moving the nodes a bit to the right so to make the figure appears more balanced: I tried with ...
4
votes
1answer
83 views

make nodes different sizes in the same image

I want to make all the nodes the same size. But the problem is that some of them have more text in them so they automatically get bigger. Any help would be nice thanks. Code \begin{tikzpicture} ...
5
votes
2answers
142 views

TikZ - use non-Tikz command to layout part of picture

I'm using a package (semantic.sty) that draws something semi-complicated using LaTeX (not TikZ). I would like to draw part of a TikZ picture using the same command, with parts of the TikZ picture ...
5
votes
1answer
134 views

Set a tikz node's contents from a style

In tikz, how can I set a node's contents from a style ? For example, instead of writing this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} ...
2
votes
1answer
79 views

How to align a node's text RIGHT, i.e. at the end of the line?

I'm drawing a diagram with nodes and I have to have the inner text of one node at the END of the line, i.e. at the right side, not left, not centered. Unfortunately I didn't find a way nor information ...
2
votes
1answer
91 views

Simple horizontal path

I am trying to create just a simple horizontal arrow (line 1) from Advertiser to Scanner above line 2 in a certain distance. Since too much time I am trying to find out the right grammatics but ...
2
votes
1answer
153 views

How do I make my path node follow the path from a certain position?

I am trying to make a diagram with a curved arrow and I want its node to follow the arrow from about the "near end" point. I have been googling for hours now and I can't find the way to do it. I've ...
7
votes
3answers
175 views

In tikz is there a way to set a node style to center the center of each node within a given scope

In the following MWE, I know that the commented line works. What I want to know is why the every node/.style approach is not working. \documentclass{article} \usepackage{tikz} \begin{document} ...
9
votes
3answers
1k views

Table with TikZ

I should create a table like the one here as example. I think that the best way to do a table like this one is generate some labels and use them to colorize the nodes in order to make it more ...
5
votes
1answer
315 views

Reduce white space above TikZ label

I'm new to TikZ, and have drawn the following picture, \documentclass[12pt,a4paper]{article} \usepackage{tikz} \usetikzlibrary{trees,arrows} \begin{document} \begin{tikzpicture}[every ...
6
votes
1answer
323 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 < ...
1
vote
0answers
160 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 ...
3
votes
1answer
684 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 ...
3
votes
2answers
296 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
162 views

Inheritance in Tikz tree

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
70 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 ...
3
votes
1answer
308 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]; ...
7
votes
1answer
526 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
182 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 ...
5
votes
1answer
401 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 ...
4
votes
1answer
315 views

TikZ fit nodes with non-regular shape

I am seeking a better way of doing the following: fitting nodes with a non regular shape, like it is in the MWE. So that I can give a label to the fitted nodes. \documentclass{standalone} ...
6
votes
3answers
252 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 ...
5
votes
1answer
150 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 ...
4
votes
1answer
291 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} ...
6
votes
1answer
571 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 ...