{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
2answers
191 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
95 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
161 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
176 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
577 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
267 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
172 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
304 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
300 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
370 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
414 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
432 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
460 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
346 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
377 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
420 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
131 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
131 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
73 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
404 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
217 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
207 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
196 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
218 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
238 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
222 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
2k 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
268 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
924 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
238 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
832 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
142 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
144 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
422 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
198 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
304 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 ...
3
votes
1answer
271 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
260 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
419 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
88 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
527 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
179 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
230 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 ...
3
votes
0answers
95 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
190 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
144 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 ...