{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

3
votes
1answer
188 views

Circling/framing and referring to a bunch of nodes

The end goal: drawing paths between nodes like in the example there but the difference is the nodes are inside a picture here and in particular, the other node is a bunch of nodes in the same picture. ...
10
votes
1answer
296 views

Can I calculate the difference between two relatively positioned nodes with TikZ using calc?

I have a chart with relatively positioned nodes. How do I calculate the horizontal distance x, between node "sub3" and node "key" and multiply that value by 2 and use it for the positioning of node ...
4
votes
1answer
289 views

How do I layer nodes/boxes in a drawing?

I'm trying to make a diagram that shows relations of elements in a system, but I don't know how to layer anything. So far I've got: \documentclass{book} \usepackage{tikz} ...
12
votes
3answers
2k views

positioning a child node between two parents

\begin{tikzpicture}[node distance=1.5cm] \node[state] (A) {A}; \node[state] (C) [right of=A] {C}; \node[state] (B) [below in the middle of=A and C] {B} \end{tikzpicture} Something like this: A ...
8
votes
1answer
385 views

Add “tangential nodes” to a hobby curve

Is it possible to place nodes along a hobby curve such that the orientation is tangential to the curve. I should add what I mean with tangential: The curved hobby path should represent a curvy street ...
10
votes
3answers
6k views

How to draw a node as a filled circle (dot) to indicate a connection using TikZ and LaTeX?

I have some trouble drawing a control system block diagram using TikZ. I want a certain node to be shown as a dot, indicating a connection. However, the dot is not positioned at the center of the node ...
5
votes
3answers
294 views

Tikz: How do you label a circled node to the left without collisions?

I'm trying to label a circled node in Tikz with some text to the left. The problem is it is colliding with the circle. For example I have something like: \begin{tikzpicture} \node[draw,circle] at ...
8
votes
1answer
266 views

Start line in the corner of a node

Hwo to put start line in the corrner of a A node? How to force TikZ to draw C-level siblings to the right direction. \documentclass{beamer}% \mode<presentation>% { \usetheme{Madrid}% ...
5
votes
2answers
111 views

How do I use scopes to apply a style to nodes inside a path?

I want to use nodes inside a single path, in order that I might position one relative to another using the ++(x,y) notation. However, a scope that I want to use to style the nodes only styles the ...
3
votes
1answer
512 views

Statecharts using TikZ

I haven't found any example of using TikZ for drawing Harel's statecharts notation. There are numerous examples of finite-state automata, but that cannot be applied for statecharts for two reasons: no ...
7
votes
2answers
1k views

How does the 'on grid' node positioning in TikZ actually work?

I thought I knew how the on grid option of TikZ (cf. version 2.10 manual section 16.5.3 pages 186-187) worked, but the results I get are different from what I expected. I have a minimal example: ...
4
votes
1answer
211 views

How to draw hierarchical boxes with vertical lines of sight? [duplicate]

Possible Duplicate: Creating a node fitting the horizontal width of two other nodes I would like to draw a hierarchy of boxes where the borders of the boxes are vertically in the same line ...
20
votes
2answers
810 views

How to modify nodes in TikZ to automatically add a line on their top?

In TikZ there is the very flexible node system. As a beginner I am still stumbling over a few details. How can I modify a node or create my own nodes easily? As an example I need a node with a thick ...
7
votes
1answer
263 views

Tikz node and nonalphanumeric characters

I cannibalised some code from the thread Simple speech bubbles, arrows or balloon like shapes in beamer. It works really well, but crashes whenever non-alphanumeric characters are used in the node. ...
1
vote
0answers
91 views

mindmap problem [closed]

When compiling (on debian) the example in http://www.texample.net/tikz/examples/computer-science-mindmap/ I get a strange behavior of the central node (see attached image). have you any suggestion ? ...
10
votes
1answer
6k views

TikZ: text along path as node

I'm using the decorations library to put bended text along a path. That works fine. However, I'd like to have the bended text as a node, so that I can later use it as a reference (for instance to draw ...
10
votes
1answer
3k views

How to rotate a node and text independently in Tikz

How can I rotate the text inside a node independent of the node in tikz? Right now I am using the rotatebox. The other option I tried was to have two overlapping nodes. Is there a better way to do ...
6
votes
1answer
1k views

How to make different shape nodes in automata in TikZ?

This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows,fit,calc,positioning,automata} \begin{document} \begin{tikzpicture}[shorten >=1pt,auto,node distance=7 ...
13
votes
2answers
611 views

Naming the nodes of `nodes near coords` for later use

I would like to use pgfplots command nodes near coords to get a list of named node ((no1), (no2), (no3) etc.) that I can use afterwards to draw some paths that I fail to construct with pgfplots only. ...
8
votes
1answer
210 views

How to build a trail of nodes from a path in tikz-pgf?

What I want: where the yellow line is the path to be transformed. The points inside the yelow line are the nodes after processing. The only way I found to do this is the intersection between a ...
6
votes
1answer
3k views

Position text next to rectangle in TikZ

Consider the following TikZ code: \filldraw[fill=black!40!white,thick] (0,1.5) node[above left] {start} rectangle (3.2,2) node[below right] {end} node [midway] {cp} ; It produces a rectangle at the ...
5
votes
1answer
534 views

Arrow heads as plot marks

I would like to draw a plot and put arrow heads pointing in the direction of the plot instead of marks. My first idea was to use the quiver option from pgfplots by duplicating and stagering the ...
5
votes
1answer
656 views

Nodes with cases with TikZ

I need to make something that should look like this (sorry for such low quality of picture) So I type this but it's doesn't work correctly: \begin{tikzpicture} \node (A) at (0,0) {$ \vec{\bf ...
4
votes
1answer
234 views

Nodes being covered when using “right of” for placing nodes in TikZ

I am using Beamer and TikZ for creating some slides, and I am having some problems with positioning nodes. I incrementally display some nodes, and position them using [right of=previousnode]. On the ...
5
votes
2answers
919 views

creating a fifo symbol with pgfdeclareshape

I'm compiling with: pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2011.7.8) pgf 2008/01/15 v2.10 (rcs-revision 1.12) tikz 2010/10/13 v2.10 (rcs-revision 1.76) ...
15
votes
2answers
3k views

How to center one node exactly between two others with TikZ?

How can I center a TikZ node exactly between two others? Hypothetically, \node (a) {a} \node (c) [right of=c] {c} \node (b) [between={a,c}] {b}
9
votes
2answers
779 views

Calculating a common height for nodes with different amounts of text in Tikz

When using labelled nodes (e.g. for a flow chart), their sizes are automatically chosen. One can enforce the same size, which must be known a priori, for multiple nodes by using "large enough" values ...
5
votes
1answer
617 views

Adding arrows, text, and overlaying to two nodes pointing to the same node in beamer and tikz

I would like to create a diagram similar to: http://www.texample.net/tikz/examples/marketing-distribution-channel/ Instead, I would like for the 2 nodes at the bottom to point to the top node, and I ...
9
votes
2answers
1k views

Node positioning relative to 2 other nodes

I'm wanting to align/position a node relative to 2 others. Basically I'd like everything to be in rows and columns (whose is determined by the largest member). In this specific instance, I'd like node ...
9
votes
1answer
760 views

Node spacing based on node boundaries [duplicate]

TLDR: Is there a way to get the nodes to space based on their 'tips'. Thus avoiding the x-scale=#cm all over the place to get things just right. I am in the process of converting a bunch of visio ...
9
votes
2answers
2k views

Increase the bending distance of a ``to`` path in TikZ

I have problem with an small graph. The path between the node J and B should to the right of node I. Is there a way to do this? \documentclass[11pt]{article} \pagestyle{empty} \usepackage{tikz} ...
4
votes
1answer
1k views

Grouping nodes in tikz

For the MWE below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath, graphicx, tikz, enumerate, ...
2
votes
1answer
338 views

Making figures (listings) be like tikz node/arrow transitions

I have the MWE as below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{graphicx} ...
6
votes
2answers
262 views

How to share selected options between different nodes in TikZ?

(I didn't find a better title for the question. Suggestions are welcomed.) I have created some new shapes in TikZ and I would like to put one of them below another one when a certain key is passed to ...
8
votes
2answers
259 views

multipart node to represent a byte

I am trying to create a multipart node to represent a byte I wish I could write \Byte{0 1 0 0 1 1 0 0} or \Byte {0, 1, 0, 0, 1, 1, 0, 0} and obtain \documentclass[12pt]{standalone} ...
8
votes
1answer
339 views

How can I move the position of a label inside a node?

I just started using TikZ an it's amazing. But I can't find out how to change the position of the label inside a node. At the moment I've: \node (DataAccess) at (0,2) [draw,thick,minimum ...
1
vote
0answers
43 views

pgfplots: How to change the alignment of one single node [duplicate]

Possible Duplicate: How to display labels on points of a tikz plot I plot a scatter plot using pgfplots and automatically label every single mark with its description. When two marks are ...
5
votes
1answer
2k views

Circuitikz - IC circuit with relative coordinates

I've represented an IC circuit using circuitikz, but it's a bit too rough to what I prefer. In particular I would like to use relative coordinates in this case and connect them to the ``IC device'' so ...
7
votes
2answers
339 views

Align the length of two nodes inside a matrix

I wanted to create a node with vertical and horizontal parts. So after some searching I found that I can achieve this by using a matrix. I tried the code below: \documentclass{article} ...
3
votes
1answer
633 views

Slight vertical mis-alignment of cells when using TikZ matrix of nodes

While laying out a bunch of nodes with a TikZ matrix, I noticed slight vertical mis-alignment of nodes. It seems that words with “tall” letters (p, b, l) shift the box vertically up or down. This does ...
2
votes
2answers
880 views

Using node shapes or self made tikzpicture as image in legend

I am using the solutions of Using a pgfplots-style legend in a plain-old tikzpicture and Legend in tikzpicture to create a legend in a tikzpicture. In this legend I need a cylinder as image. I ...
15
votes
2answers
2k views

How to make tikz multipart node parts have uniform size?

When making boxed nodes in TikZ, a common requirement is that the nodes be of equal size. Because TikZ automatically adjusts the size of nodes to fit the contents of the node, this is usually done by ...
9
votes
3answers
4k views

TikZ: Using Loop to Draw Grid of Nodes

I am trying to draw an Ising model (in my case, a grid of nodes with an undirected edge between adjacent nodes on the same row or column) using TikZ. I have the grid of nodes working nicely using a ...
21
votes
3answers
957 views

TikZ Nodes not exactly centered

In my solution to draw a plot with point, it was pointed out that the nodes containing \textbullet and $\circ$ were not placed exactly centered at the specified point. I found this hard to believe ...
4
votes
1answer
3k views

Tikz multiline node with center align [duplicate]

I have a problem with nodes in scheme. I need type a node where will be text "Banka melovskych filtru". Each word on a special line with center align.
1
vote
1answer
418 views

Draw a tree with variable node number

I would like to draw a tree in tex that is more like a sketch of a tree: It should contain variable node numbers. Important is, that the dots are contained in the tree drawn. Is that possible with ...
13
votes
2answers
878 views

Text over rectangular node

I am trying to create a new environment that will contain the following displayed counter (at least something like it): \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb} ...
7
votes
1answer
365 views

Custom TikZ node with svg path not clipped

I would like to make a custom node shape with a small picture (on north east) using the svg directive of TikZ, because the picture comes from a svg path. As you can see with this simple code, the ...
2
votes
2answers
470 views

How to join two arrows with (TikZ) [duplicate]

Possible Duplicate: Merge arrows with TikZ Is there a way to join two arrows? They should start from two different nodes, join and point to a third node. That would be great! here I have a ...
7
votes
2answers
1k views

Center a Node Vertically TikZ

I'm using TikZ to create the following drawing: So far so good, but now I'd like to center the node with the gray background vertically. Here's its code: \setlength{\arraycolsep}{2pt} ...