{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

12
votes
1answer
478 views

Nested node class with pictogram decoration

I'm wondering how can I define custom TikZ node class mynode thats allows my to use following syntax: \node [mynode,fill=yellow!40] {component} \child{ \node [mynode,fill=yellow!40] ...
21
votes
1answer
2k views

TikZ picture shapes

I am very new to the TikZ package, and I need to draw some flow chars by using the following shapes. However I couldn't figure out how to draw the 4th and and 6th ones below. It would be very nice ...
19
votes
2answers
1k views

Tikz: purely vertical arrow from nodeA.south to nodeB.north

I have the following tikz code % compilation command: pdflatex --jobname=Diag-f1 Diag.tex \documentclass{book} \usepackage{tikz} \pgfrealjobname{Diag} \begin{document} \beginpgfgraphicnamed{Diag-f1} ...
8
votes
2answers
455 views

Giving a `matrix` node an `alias`

This TeX.sx question asks if is it possible to use a TikZ matrix along a chain. The error that occurs when one tries to do so is Package pgf Error: No shape named chain-3 is known., and a way to ...
11
votes
3answers
739 views

Anchors/coordinates inside a node's text

The plot Using tikz, I have a main node containing several (three) lines of text, and three "legend" nodes that point to them. If I use a rectangle node, then I can't access the positions of the ...
7
votes
2answers
216 views

Want nodes to have linked heights based on which input is larger

So I'm trying to make a worksheet template for students to create pdfs for student markup. The inputs create what is going to go in the question box as well as the hints box. I want to create the ...
8
votes
1answer
2k views

Edge nodes, auto and node distance

Consider the following MWE \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0)--(1,1) node[auto,midway] {$A$} -- (2,0) node[auto,midway] {$B$}; ...
9
votes
1answer
178 views

Checking whether or not a node has been previously defined

I use the following code to draw a line to connect two nodes in my graphic: \draw ( p-\prow-\col) -- (p-\row-\col); At the edge of the figure, however, not every node will have a predecessor from ...
5
votes
1answer
344 views

Pointing (an arrow) to a tabular node in beamer is buggy (ignorenonframetext)

Maybe a bug in beamer, works OK while using the minimal document class. Again, following the example over there, and also after playing with Circling/framing and referring to a bunch of nodes, the ...
5
votes
1answer
487 views

TikZ callout pointing to nested nodes

In the following MWE I want to create a TikZ callout pointing to a node within a node. The outer node is for the highlighting environment \tikzMe the inner node is for the \tikzmark. Somehow I do not ...
5
votes
1answer
263 views

Strange movement of objects when highlighted item in beamer is uncovered

Can anyone explain to me why there is this strange "shift" of objects when passing from the first to the second slide in the below MWE? \documentclass{beamer} \usepackage{beamerthemeshadow} ...
21
votes
3answers
4k views

Fancy arrows with TikZ

I would like to draw an arrow like this using TikZ: This is taken from Workflow diagram. I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't ...
3
votes
1answer
192 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
308 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
304 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
396 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
7k 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
317 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
269 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
113 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
524 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
216 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 ...
21
votes
2answers
835 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
269 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
92 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 ...
14
votes
2answers
642 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
212 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
553 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
668 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
237 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
940 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) ...
16
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
812 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
634 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
788 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
351 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
265 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
267 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
358 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 ...