{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
1answer
190 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
89 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
173 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
260 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
229 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
607 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
409 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 < ...
7
votes
3answers
2k 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
649 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.
5
votes
1answer
835 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
882 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 ...
7
votes
1answer
659 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
867 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 ...
8
votes
1answer
956 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 ...
10
votes
2answers
4k 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
181 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 ...
5
votes
1answer
2k 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
169 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
446 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
48 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
235 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
647 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
163 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
229 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
5k 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} ...
10
votes
1answer
412 views

Create custom node to draw this

I'm very very new to tikz, I've already done this: With this code: \documentclass{article} \usepackage[spanish,es-noquoting]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
89 views

What is the nodename.number in the following example?

What is the nodename.number in the following example? For example a.345? Changing number arbitrarily rotates the arrows. How to decide on the numbers so that it remains parallel ? ...
7
votes
1answer
727 views

Pgfplots: Drawing Arrows Along Contour Plots

I would like to draw "stealth" arrows in place of the "0" labels along the trajectory in the phase portrait pictured below. I decided to draw the trajectory using the contour functionality of ...
3
votes
1answer
250 views

Tikz vertical alignement text and shape

I want to vertically align sans serif font with a rectangle. The following code show the problem: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary[positioning] ...
4
votes
1answer
510 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} ...
4
votes
1answer
176 views

Tikz positionning on the baseline

I have the following piece of code \begin{tikzpicture} [mainbullet/.style={rectangle, minimum size=0.3cm,draw=orange!100, fill=orange!100,thick}, % maintitle/.style={rectangle,opacity= 0.5}, % ...
8
votes
1answer
537 views

Align pinned nodes in PGFplots

I'm working with plots generated from matlab2tikz and I have several plot lines close to each other. Labeling them is proving difficult, but I believe a good looking solution could be to list the ...
9
votes
1answer
459 views

Connecting nodes with brace in TikZ

How would be possible to put a brace instead of a "line" connecting nodes and add some text above it with TikZ?
1
vote
1answer
442 views

Using Tikz Fit to draw a node covering a Tikz chains

A chain of nodes is drawn using tikz chains. I would like to draw a rectangle node covering the chain nodes (or, multiple rectangle nodes covering subsets of them). I am using tikz fit. ...
2
votes
3answers
279 views

Adding nodes to specific positions and without circles around them(but only labels)

Based on a previously asked question by me I already have the following code: \documentclass [11pt,a4paper] {article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{amsmath,tikz} ...
1
vote
0answers
230 views

Drawing lozenges in Tikz [duplicate]

I'm creating a simple flowchart using Tikz, and I'd really like the "decision" nodes to be lozenge-shaped (think "tilted parallelogram") rather than square, in order to fit text better. Here's a ...
4
votes
1answer
1k views

pgfplots: Positioning “node near coord” at the bottom of the bar

I would like to position nodes near coords at the bottom of the corresponding bar, right by the X axis. Here's what I've got now: \documentclass{report} \usepackage{pgfplots} \begin{document} ...
2
votes
0answers
26 views

node at sloped path and/or not respecting every path/.style [duplicate]

I'm producing a schematic Nyquist plot, and I want to create an arc between the x-axis and a straight line, which should be denoted PM (phase margin). I use the intersections library to find the ...
3
votes
1answer
609 views

how to draw double circle nodes in tikz more clear?

I like the drawing final states in Peter Linz's Book, more clear than final states in tikz. can do it with apply an option in tikz, or other packages?
3
votes
2answers
746 views

anchor arrow start position

Attached below is the minimum working example. I would like the arrow to end at the west anchor of the node "operation". I tried anchor and few other possibilities but they don't seem to affect the ...
3
votes
0answers
74 views

Placing a node on top of lines in TikZ [duplicate]

I'm using TikZ to draw a polytope/simplicial complex and I'd like to label the vertices with their names (which are numbers). However, in the picture below, the node seems to be placed behind the ...
3
votes
2answers
1k views

[Tikz-]Qtree: force direction of single child to left or right?

I'm trying to draw a tree that has internal nodes with only one child, but which must be oriented. / \ /\ \ /\ Instead of the typical qtree where said children just "hang": ...
1
vote
0answers
47 views

How to set node label position with anchor [duplicate]

Actually, I write some notes about programming with Tikz and reading Jake's answer to this question, I asked myself how tikz places the "node label". I would like to reproduce: ...
17
votes
2answers
28k views

Adjusting font size with TikZ picture

Taking from the PGF manual, \begin{tikzpicture} \draw [help lines] (0,0) grid (3,3); \coordinate (a) at (rnd,rnd); \coordinate (b) at (3-rnd,3-rnd); \draw (a) -- (b); \node (c) at (1,2) ...
5
votes
1answer
1k views

How do I set top left position as the anchor for a node (TikZ)

Is there a way to position a node in terms of left/right coordinates of bounding rectangle? It appears to me that I can only specify center position.
5
votes
1answer
2k views

Drawing parallelogram with fixed angle, width and height?

I want to draw parallelograms with fixed angle, width and height, but it seems that trapezium in PGF/TikZ cannot specific the height without changing angles. \documentclass[tikz]{standalone} ...
9
votes
1answer
434 views

Custom, space-saving ellipse as TikZ node shape?

in some applications, one wants to use ellipses as node shapes in figures, e.g., when in the literature on a subject typically uses ellipses to denote certain things in figures. The problems with ...
24
votes
3answers
8k views

How can I set the TikZ label anchor explicitly?

I want to add a label to a node, but "inside" the node. Something like this: The manual seems to indicate it might be possible, although no actual key is named. The ... anchor point for the ...
20
votes
2answers
16k 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};
3
votes
1answer
148 views

Node placement problem

This is my first question in tex.stackexchange. It might be relatively simple problem but I am having difficulties with the placement of the nodes inside graphics. The problem is that when I try to ...