{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
1answer
90 views

How to place a node of a certain shape with one side on a line in TikZ

I would like to have an arrow shaped node to be positioned with its tail on the vertical axis of my reference frame. Here' were I got: \documentclass{article} \usepackage{tikz} ...
4
votes
0answers
23 views

How to divide circle multipart nodes in tikz [duplicate]

I would like to get multi part node with vertical line between lower nodepart. Something like this: My code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} ...
2
votes
0answers
257 views

How should I read the current TikZ “label distance”?

I decided that I don't like the behaviour of the label functionality of TikZ. I want to get labels that are positioned using the anchor opposite the specified label angle. So for example if the label ...
8
votes
4answers
582 views

Tikz labels are shifted dependent on the letters size

General description of the intrinsic behavior The labels in a tikz picture are shifted (e.g. by above) exactly to the extreme of the letters in the labels, i.e. it takes the descender (see ...
3
votes
1answer
162 views

How to determine minimum width of rectangle with distance between two nodes

From similar questions and given examples about how to calculate distances between two points in the TikZ manual, I was not able to figure out how to extract from them a solution for my (probably ...
3
votes
2answers
325 views

line/ arrow to node with rounded corners [duplicate]

A line to/from a rounded corner ends at the position 'north east' and not at the line around the node. Is there a simple way to end the line/arrow at the drawn line around A? MWE: ...
7
votes
1answer
270 views

Automatic connection of text points in tikz-qtree

I have to draw pictures like the following a lot: I want to use tikz-qtree, since I have a lot of trees and this package simplifies things considerably. Right now I use the following code, since it ...
4
votes
1answer
502 views

Node distance “and” command not working [duplicate]

I am trying to build a flow chart using TikZ. I would like the horizontal and vertical spacing to be different. Thus, I am using node distance=2.5cm and 1cm. However, the second distance (1cm) is ...
0
votes
0answers
34 views

How to declare new path commands in TikZ? [duplicate]

The TikZ Manual, section 59.5 and some very good questions on this site explain how to declare new shapes for TikZ nodes with \pgfdeclareshape{myshape} ... to later use them with \node[shape=myshape] ...
2
votes
1answer
2k views

Centering text in TikZ tree node

I'd like to have my text inside TikZ tree nodes centered; below is my progress so far: \documentclass[10pt, a4paper]{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \tikzset{ ...
1
vote
1answer
108 views

Tikz nodes moves after double building

I want to plot 4 graphs in one tikzpicture in a 2x2 grid, using groupplot. Also I want to put some arrows from nodes in the first three plots to nodes in the last one. To do this, I try to use ...
2
votes
2answers
195 views

Parametrized circle node with a cross symbol

I am trying to get that result: with a parametrized node that has 4 args for the 4 circle sections. I managed to achieve the following code: \documentclass{article} \usepackage{tikz} ...
4
votes
1answer
97 views

udots in TikzPic problem

I'm having a problem making a diagram in tikzpicture. Here's the code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage{MnSymbol} ...
8
votes
1answer
171 views

For each node I want to draw arrow '->'

I want to draw '->' for each path. Actually I tried to add every node option and '->', but this doesn't work. I know that \draw[->] (t1)--(t2); \draw[->] (t2)--(t3); ... would be work. But I want ...
0
votes
2answers
181 views

Horizontally aligning figures in tikz

I have produced two figures using TikZ that currently consume one full page(each taking up a half of the page). I want to scale these images and place them side by side horizontally so that I can save ...
4
votes
1answer
631 views

Drawing a circle around nodes in flow chart using Beamer

I am trying to draw a circle around a bunch of nodes in a flow chart that I've created using beamer and I can't figure out how to do it. Ideally, I'd like the circle to encompass most (but not all of ...
2
votes
0answers
294 views

TikZ: How to set a node on an exact position on a line?

to set a node on a line the usual way should be something like this: \begin{tikzpicture} % place nodes \node[draw] at (0, 0) (a) {A}; \node[draw] at (5, 0) (b) {B}; \node[draw] ...
5
votes
4answers
173 views

How can I make TikZ nodes center on a particular symbol/operator?

Here is a small example document. \documentclass[a4paper]{amsart} \usepackage{tikz} \newcommand{\dju}{\mathbin{\coprod}} \DeclareMathOperator{\id}{id} \begin{document} \begin{tikzpicture}[x = ...
5
votes
1answer
328 views

How to draw vertical brace right side of a vertical line with node?

I want to draw the following figure (with a node which is not shown). I obtained this with the following code: \begin{figure} \begin{center} $\left.\begin{array}{rr} \begin{tikzpicture} \draw ...
5
votes
1answer
308 views

How to connect two parents to the same child, with parents not in the same tree?

I'm trying to draw a specific tree, with two parents node linked to the same child. The problem is that one of the parent is outside the main tree. Here's the code I have for the moment: ...
7
votes
1answer
384 views

inserting special border to tikz mindmap

Hi I would like to mark certain nodes of tikz-mindmap just an example is illustrated in the figure. Thanks in advance The minimal working code is here \documentclass[]{article} \usepackage{tikz} ...
9
votes
4answers
450 views

Highlighting equation with arrow

I want to create an equation with highlighting as shown bellow. But using following code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
4
votes
1answer
138 views

TikZ snake braces using nodes from diferent 'tikzpicture's

Is it possible to have a brace defined (with the snakes library) using as reference points 2 nodes in 2 different tikzpictures? \begin{tikzpicture}[scale=.6] \draw[draw=black, ...
2
votes
2answers
471 views

How do I place nodes around a circle in Tikz?

I'd like to place 17 evenly-spaced nodes around a circle. I am very new to Tikz and am following the Petri nets example in the manual. I would like to do something similar — essentially just ...
8
votes
2answers
469 views

How to draw a circle with a triangle in TikZ?

Be sorry that I cannot provide the coordinates of all points, or I can draw the picture. How can I make this figure? Thanks for any help!
5
votes
1answer
354 views

How can I create this kind of flow chart?

I am creating a beamer presentation. I try to create a tikz flow chart. Here is my production. T_T Actually, what I want to do is Be grateful with any help! So frustrated now. ...
3
votes
2answers
394 views

Using Tikz in a figure, can I draw braces between nodes and control spacing between brace ends and the nodes?

This question is related to Draw curly braces in TikZ. Is there a way of making the solution more general for when you wish to use node names to define the end points? To illustrate, I've made a ...
6
votes
1answer
440 views

How do I create a Tikz mindmap that has two connected roots?

I am creating a mindmap that has multiple root concepts instead of just one. How can I create such a mindmap using Tikz? These are the mindmaps: \begin{tikzpicture}[small mindmap,concept ...
5
votes
1answer
132 views

Make stealth horizontal in TikZ?

\documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{backgrounds, calc, positioning, fit} \begin{document} \begin{tikzpicture} \node[draw] (a) {A node}; ...
1
vote
0answers
132 views

Circuitikz: connection of nodes [duplicate]

I'm using the circuitikz library to draw some circuits. To connect two nodes with a square angle, there is the possibility to use |-, as in the MWE below for the connection of (a) with (b). However, ...
3
votes
1answer
109 views

How to eliminate the gap in a chain?

In the following code, I used node distance=0 and outer sep=0 to position the nodes besides each other seamlessly. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{chains} ...
2
votes
1answer
75 views

Positioning \tstar… on a page

Horizontal positioning of \tstar can be done with \hspace*{}, but attempts at vertical positioning with either \vspace{} or writing \node (x) at (somex,somey) {\tstar{}{}{}{}} fails. How can I adjust ...
3
votes
0answers
408 views

TikZ scaling graphic and adjust node position and keep font size

I have several pictures in my thesis. I want to draw arrows with text over these pictures. After that I want to scale the picture, but the node position should adjust to the scaling and arrows, and ...
2
votes
1answer
225 views

How to use empheq environment in TikZ nodes?

Using the empheq environment from the empheq package in a TikZ node is throwing errors for me (although it seems to be plotted correctly): \documentclass{scrartcl} \usepackage{empheq} ...
3
votes
2answers
1k views

tikz tree fork down edge labels

\documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[level distance=1.5cm, level 1/.style={sibling distance=3.5cm}, level 2/.style={sibling ...
5
votes
2answers
210 views

How to converge various nodes with rectangular shapes and arrow in TikZ?

I'm very new to TikZ. I would like to join some nodes as shown in the attached image I've got some idea from this thread tree rectangular. However, I could not manage to implement this properly ...
8
votes
1answer
201 views

How to draw an overlaid pages image for a Tikz flowchart node?

In Natural Language Processing and related disciplines, it's common to see an "overlaid pages" image included as a node in a flowchart of a system: _____ | ___|__ | | ___|___ | | | | ...
8
votes
4answers
220 views

TikZ chain adjust positions of on-the-arrow node

\documentclass{article} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[start chain=circle placed {at=(\tikzchaincount*30:1.5)},regular/.style={draw,circle,inner ...
4
votes
1answer
245 views

Use TikZ “circle connection bar” with non circular shapes

Is there any way to use the circle connection bar feature from the mindmap Tikz library with non circular node shapes? Here a non working Example: \documentclass[]{article} \usepackage{tikz} ...
5
votes
2answers
238 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 ...
20
votes
2answers
3k 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} ...
5
votes
1answer
287 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, ...
12
votes
4answers
987 views

Tikz shape similar to rectangle with selective drawing of borders

I am looking for a tikz shape similar to the rectangle shape, but with the possibility of drawing individual borders selectively. Also when used with rounded corners, the corners missing a border ...
6
votes
1answer
2k 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, ...
1
vote
1answer
246 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}} ...
6
votes
3answers
902 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
147 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 ...
4
votes
1answer
150 views

tikz def node name (or reference) for nodes create using the def

I have the following definition in order to create a node with cylinder shape \def\dnc[#1,#2,#3,#4]#5{ \node[draw, cylinder, alias=cyl, shape border rotate=90, aspect=1.6, % minimum height=25, ...
9
votes
1answer
441 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
207 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 ...