{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
2answers
994 views

Aligning multiple TikZ trees with other nodes

This question is directly related to Aligning TikZ trees with other nodes that I asked some time ago. By the time I asked the question I didn't realize that aligning multiple trees was not the same as ...
6
votes
2answers
1k views

TikZ: Track the bounding rectangle of created nodes (Storing values?)

In the main part of the tikzpicture I'd like to simply create blocks. So I need somewhere in theirs' style definition to perform tracking of their common bounding rectangle. I've tried to access ...
7
votes
2answers
899 views

Aligning TikZ trees with other nodes

I would like to align a TikZ tree with another node by considering the tree as a whole like as if it was a node with anchors. For the moment I am only able to align the root node of the tree, not the ...
5
votes
1answer
437 views

TikZ. Access node's name within a .code handler.

I'd like to place variable number of additional nodes on the border of the rectangle. I suggest it to look in a somewhat following way: \node[name=R, my rectangle=top:3 bottom:1 left:2 right:1] {Node ...
17
votes
3answers
5k views

How can I align two nodes to the left in TikZ?

I have two unaligned nodes |AAAAAAA| |B| and I want to have the node with the B aligned to the left of the node with AAAs and below it |AAAAAAA| |B| How can this be done?
3
votes
1answer
283 views

Place nodes on an A4 document similar to drawing on a graph sheet

As my figure keeps crossing the margins I end up rescaling it at the end using \begin{tikzpicture}[scale=5/10,transform shape]. This works most of the time but it seems to me like its a hackish way of ...
4
votes
3answers
2k views

How to get TikZ nodes not to change alignment?

I'm still working on rendering a nice block matrix. I've been using BMAT but it is irrelevant for the question at hand. I want to connect various entries in an array/matrix/BMAT by lines, and I'm ...
4
votes
1answer
1k views

TikZ: Creating stack with variable width

I am new to TikZ and want to draw a simple stack Diagram. The Diagram should look like: [a] [b] [c] [d] |-| |j| [f ] | | | | [g ] | | ...
8
votes
1answer
2k views

Drawing paths/nodes along a path in Tikz

I would like to draw a collection of nodes / paths. However, I'm too lazy to position them manually, I would like to specify their position along a given path. How can I do that? Here a picture of ...
5
votes
1answer
2k views

Label sides of rectangles and triangles

What is the easiest way to label the sides of rectangles and triangles in TikZ?
15
votes
1answer
3k views

Declare nodes in pgfplots as overlays

The Background In pgfplots, it is possible to make plot elements such as axis labels, ticks and legends overlay, which means they will not be considered when determining the bounding box of the plot. ...
7
votes
1answer
1k views

place a new TikZ node behind others

I would like to have a new TikZ node appear behind the previous one. For instance in beamer presentations for highlighting parts of code. I can do this if I place the \node before the new node and ...
4
votes
2answers
1k views

Add label to flowchart nodes

I need to add a "label" to nodes in a flowchart with tikz, preferably in the top left corner. See picture: the text in red is where I need it. This is because each block should have a "label" so I ...
11
votes
2answers
5k views

Cylinder shading with PGF/TikZ

I'm trying to create a cylinder with 3D shading effects. The cylinders in the picture are standing vertically, and have a body and an end. I'd like the body to be shaded so that it varies uniformly ...
5
votes
1answer
2k views

How to draw lines between nodes that point at the node center, but stop at the nodes edge

I'm drawing nodes on a circle and switched from drawing lines based on coordinates to drawing them based on named nodes. The problem now is, that with the following code the lines stop at the edges ...
3
votes
2answers
2k views

How to create a Node below a node

\documentclass{minimal} \usepackage[a4paper,margin=1cm,landscape]{geometry} \usepackage{tikz} \usetikzlibrary{positioning,shapes,shadows,arrows} \begin{document} \tikzstyle{abstract}=[rectangle, ...
6
votes
2answers
3k views

Putting a tabular in a node within a matrix

I have a picture in which each of the nodes looks something like this: \node (species1) [shape=rectangle,draw] { \begin{tabular}{c c c} \multicolumn{3}{c}{{Species 1}} \\ \colorbox{red}{G1a} ...
5
votes
1answer
1k views

tikz parabola node position

I am trying to position nodes on a parabola curve. However, it seems tikz cannot calculate the midway positions. Neither of the following examples works: \begin{tikzpicture} \draw (-1,0) ...
3
votes
1answer
710 views

Parts (node) with the same height Tikz

How do I keep the two parties with the same height of 53mm? \documentclass[a4paper,10pt]{book} \usepackage{tikz} \usetikzlibrary{positioning,shapes} \begin{document} %Tikz styles ...
5
votes
1answer
1k views

How can I create a rectangle that is split vertically in tikz?

In tikz, a rectangle split node is split horizontally. According to a comment by Mark Wibrow on 2008-04-21, it is possible to create rectangle nodes that are split vertically. However, I can't find ...
8
votes
2answers
8k views

How to turn off drawing node border in PGF?

I'm trying to create a picture for Instant Insanity problem. Here is my following code: \begin{tikzpicture} \matrix[nodes=draw] { ; & \node{\LARGE R}; & ; & ;\\ \node{\LARGE R}; & ...
4
votes
1answer
2k views

TikZ: How to rotate a matrix (of nodes)?

Please consider the following TikZ code: % aligning text in node: node[align=left] only in latest 2010 tikz: % http://compgroups.net/comp.text.tex/-tikz-option-for-ragged-left-text-in-node % or use ...
24
votes
2answers
2k views

Defining a new environment whose contents go in a TikZ node

I would like to define an environment which typesets the contents in a box, and I'd like to use TikZ (I'm aware of alternatives like fancybox). So I would like something like \newenvironment{abox}% ...
6
votes
3answers
3k views

How to create custom Tikz nodes?

I don't want to change style only. I want to create node that takes 3 numbers and display them with appropriate decorations. For instance: \mynode{5,6,7} Should display node with "a=5", "b=6" and ...
11
votes
2answers
5k views

Path From and To Same Node in tikz Flowchart

I'm working on creating flowcharts directly inside LaTeX documents using tikz. I am admittedly an extreme novice with tikz, although I have quite a bit of experience using LaTeX. My problem is when ...
5
votes
1answer
2k views

Tikz: How to encapsulate shade in node?

I have this shaded circle: \shade [ball color=black!80!white] (0,0) circle (1); Is it possible to encapsulate it with node style? Including fixing circle radius?