{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
0answers
81 views

TikZ node positioning on edge parameter/label

I wonder if there exists a trick to position a graph node (relative), based on a parameter (label?) of an edge leading to it? I mean a kind of time diagram, i.e. for example I have a timed automat, ...
1
vote
1answer
115 views

Drop shadow of node with pgfplot inside

I have this code: \documentclass[tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{shadows} \begin{document} \begin{tikzpicture} \node[drop shadow,draw,fill=green] { \begin{tikzpicture} ...
4
votes
2answers
152 views

How to reduce the space between nodes?

I want to make the nodes in the following vector-illustration touch each other. But no matter what I do to text width or node distance the distance between the nodes stays the same. ...
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, ...
2
votes
1answer
85 views

TikZ nodepart enumeration

When I enumerate nodes I can write for example: \nodepart{sixteen}1 But I need to make nodes with numbers: twenty-one or more. How can I do that? When I write \nodepart{twenty-one}1 Latex ...
7
votes
1answer
285 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} ...
2
votes
1answer
95 views

Tikz How to?: Shear flow distribution around a box; Adding rectangles to lines

I am trying to illustrate the shear flow distribution around two similar boxes for my students using Tikz. The result should look like the two following examples: From a previous try, I already ...
27
votes
4answers
9k views

Node shapes in TikZ

I want to draw a block diagram for a software app and I need two shapes which I couldn't find on the Internet. The shapes are a parallelogram and a rectangle with double side margins. One is for data ...
1
vote
1answer
71 views

How do I store the x or y value of a named node in tikz \draw?

A big part of the question above has already been answered: "Use the calc tikzlibrary and the let syntax". \begin{tikzpicture} \draw [help lines] (0,0) grid (4,4); \node (A) at (2,1) {A}; ...
12
votes
4answers
616 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 ...
5
votes
1answer
99 views

Remember coordinate in nested tikzpicture points to a weird place

I have problems with remembering the coordinates of names defined in nested tikz pictures. Look at the following minimal working example: \documentclass{article} \usepackage{tikz-qtree} ...
4
votes
1answer
139 views

Adjust position of node label

In the MWE below, how can I get to adjust the position of the node labels? Note that the nodes are defined by dot/.style={circle,inner sep=1pt,fill,label={#1},name=#1} but I cannot figure out how ...
3
votes
1answer
139 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
1answer
107 views

Passing options to “append after command”?

With minimal tikz knowledge, I try to create a node like shape, which has two filled circles in it. Here is my attempt, which suffers from these problems: The appended path components seem to be ...
3
votes
2answers
147 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 ...
3
votes
0answers
78 views

How to automate right node alignment for labels from table AND marker size AND marker color of scatter plot?

Problem: Labels from table are placed right, but overlap. Is there a way to automate alignment of the labels near nodes so that labels do not overlap? This is a small example but I have bigger table ...
2
votes
1answer
85 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
196 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
305 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
2answers
211 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: ...
1
vote
1answer
299 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} ...
7
votes
1answer
241 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 ...
3
votes
1answer
163 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
32 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
398 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{ ...
8
votes
3answers
969 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 ...
2
votes
2answers
161 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
84 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
3answers
3k views

Draw a circle node with a cross symbol inside it to resemble a multiplier of a signal modulator

How do I do this in TikZ: I want to draw a circular node with a cross in it to resemble a multiplier like in the diagram shown in the link below. I can draw a circle but I don't know how to put the ...
0
votes
2answers
150 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 ...
8
votes
1answer
143 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 ...
4
votes
1answer
346 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
168 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
1answer
202 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
219 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: ...
9
votes
4answers
301 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
129 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
271 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
425 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
286 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
266 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 ...
3
votes
1answer
104 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} ...
6
votes
1answer
327 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
116 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}; ...
2
votes
1answer
166 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
0answers
300 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
66 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 ...
9
votes
1answer
661 views

TikZ: adding nodes to a circular diagram from smartdiagram package

This is what I would like to achieve: My MWE is below: \documentclass{article} \pagestyle{empty} \usepackage{lmodern} \usepackage{smartdiagram} \usetikzlibrary{shapes.geometric} ...
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 ...