{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

3
votes
1answer
189 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} ...
4
votes
1answer
208 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 ...
3
votes
1answer
343 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 ...
2
votes
0answers
75 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 ...
3
votes
2answers
442 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 ...
5
votes
1answer
164 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
202 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
87 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
170 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 ...
3
votes
1answer
124 views

TikZ multiple coordinate frame implementation not working

I'm attempting to use TikZ to draw three different coordinate frames. I have successfully done it already. However, in an attempt to make my code more readable, I tried breaking it down into a more ...
2
votes
1answer
2k 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
188 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
94 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
161 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 ...
9
votes
3answers
1k views

How to align text in TikZ nodes by baseline?

I need to draw a graph where some nodes have the same y-coordinate. I want the text within the nodes on the same y-coordinate to be baseline-aligned. However, the text seems to be aligned by the ...
5
votes
1answer
137 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} ...
1
vote
1answer
313 views

Labelling tikz nodes AND edges

The following is a snippet of the original. It works.., \documentclass[12pt]{article} \usepackage{tikz} % drawing support \usetikzlibrary{trees,arrows,decorations.markings} ...
4
votes
1answer
197 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} ...
2
votes
1answer
81 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
101 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
311 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 ...
2
votes
1answer
170 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
181 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} ...
11
votes
1answer
426 views

Organigram in Latex. Vertical distance between nodes

I want to draw a organizational structure in form of an organigram. I found this solution and tried to adapt it. The code: \documentclass{article} \usepackage{tikz} ...
10
votes
3answers
2k 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
391 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 ...
1
vote
0answers
194 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
926 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
374 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
225 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
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 ...
8
votes
1answer
743 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
273 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
636 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
181 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
896 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
250 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}, ...
6
votes
3answers
316 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
275 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
366 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
1answer
176 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
129 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
165 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 ...
3
votes
1answer
338 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
408 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
710 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
185 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
132 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
361 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} ...