{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

Separating Nodes [duplicate]

How come my tree is combined for Player 3 in the middle, when I want each Player 2 to produce two Player 3s? And same for the Player 3s leading to combined outcomes, each branch should lead to a ...
1
vote
1answer
32 views

node size align 2

Help again : I do not manage to make the TST arrow same size to the 3 blocks below. I would like the TST arrow to be exacty the same size that the 3 blocks Nov, Dev, Jan. \documentclass[12pt]{...
2
votes
2answers
111 views

node size and align

I don't understand why the "idéation" node is larger than the 2 others "Sept." and "Oct." \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \...
1
vote
1answer
130 views

How to reduce line space in node labels

How do I reduce the space between Drill and $0 in the node? \documentclass[border=3mm,tikz]{standalone} \begin{document} \begin{tikzpicture} [grow = right, sibling distance = 6em, level distance =...
3
votes
1answer
417 views

“Invisible” states in automata with Tikz

I am new to Tikz and drawing things with LaTex, so I have a question. This is the code for my tikz drawing \begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto] \node[state] (q_0) {...
2
votes
1answer
61 views

x-y node positioning relative to two different anchor points

I have the following MWE: \documentclass[tikz,convert={size=640}]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ block/.style={draw,rectangle,minimum width=1cm,...
5
votes
2answers
215 views

Flowchart with TikZ: overlapped boxes

I am using for the first time TikZ and I am creating a flowchart. I would like to insert some trapezia for LPC, HPC, HPT and LPT, as shown in the image below. The problem is that, if I simply ...
6
votes
2answers
229 views

How to unite several nodes in one big node using Tikz?

I have to implement the Gomory-Hu-Algorithms which requires the reunion of several nodes to one node like it is shown here: My code is quite simple since the example I want to implement is quite ...
2
votes
1answer
82 views

Refer to an equation inside a node in a graph [closed]

I am not very familiar with the tikz package. Reading here and there on internet, I managed to do this \begin{tikzpicture} [node distance=.8cm, start chain=going below,] \node[punktchain, ...
8
votes
4answers
377 views

Allignment of Tikz tree levels

I want to reproduce the following figure. And got the following figure with the code given below: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows, shapes, trees, positioning} ...
10
votes
4answers
561 views

Tikz Edge: Distance from other nodes?

I have the following Tikz code: \usetikzlibrary{positioning} \begin{tikzpicture} \tikzstyle{bordered} = [draw,thick,inner sep=5,minimum size=10,minimum width=100,font=\sffamily] \tikzstyle{...
6
votes
1answer
210 views

Add break node to plot in pgfplots

I was able to 'break' the vertical axis using pgfplots, but some issues came along with it: Most importantly, I can't find how to add the 'break sign' (the two parallel lines) to my plot as well, ...
3
votes
1answer
135 views

How to draw a line into a node

I'm trying to replicate a picture like the following: I'm only at the beginning stages of this replication, as a result I have the following: \documentclass[margin=10pt]{standalone} \usepackage{...
3
votes
2answers
118 views

How to set text depth=0pt for multiline text?

I would like to place a multiline text (w/o a priori knowledge of the number of lines) with zero depth. When n = 1 the solution is easy (text depth = 0pt), but with n > 1 this does not work properly. ...
18
votes
2answers
6k views

Package PGF Math Error: Unknown operator `o' or `of'

I am getting a weird error while trying to place a node above another node using the below= syntax. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] (node1) at ...
5
votes
1answer
61 views

DIfferent widths of parts of a multipart node in tikz

Is there a way to define different width of different parts of a multipart node? I did not provide a MWE because I think the question is very restricted in scope -- all I want is to set the minimum ...
1
vote
1answer
95 views

How to add label to a graph

I have created a graph but i'm not able to add the label in the node, below my code \begin{tikzpicture} \SetGraphUnit{4} \SetVertexArt \renewcommand*{\VertexInnerSep}{8pt} \renewcommand*{\...
3
votes
6answers
274 views

How to draw a path to form a regular pentagon?

I already have a code that draws a regular hexagon the following way \begin{tikzpicture}[every node/.style={draw,shape=circle,fill=blue}] \path (0,0) node (p0) {} (-1.5,-1) node (p1) {} (-1.5,-2.5) ...
3
votes
2answers
248 views

How to draw points on a circle (chords) and connect them Like the following picture?

I want to draw circles like the above picture and I also want to draw mroe than two dots and more than two chords. Can someone provide me with one simple example for the circle with two dots and one ...
1
vote
2answers
282 views

Tikz drawing: child node positioning

I want to achive such drawing with n nodes in level n. (Ignore the irregularities of circle) From http://www.texample.net/tikz/examples/coin-flipping/, it has 4 nodes in level 3. When I cancel one ...
1
vote
1answer
100 views

Flow chart Latex ! Positioning of two nodes

I need to split the two boxes N9 and N10 below N8 and side by side to each other. Help appreciated \begin{figure}[h] \centering \tikzstyle{startstop} = [rectangle, minimum width=3cm, minimum height=...
1
vote
2answers
86 views

Automated matrix padding in tikz

I encounter an error with the following code : \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes.multipart, fit,backgrounds,calc} \begin{document} \node[matrix, ...
8
votes
2answers
157 views

tikz node name and calculation

I can't find out why the following code : \documentclass[border=0mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes.multipart, fit,backgrounds,calc} \begin{document} \begin{...
3
votes
3answers
685 views

TikZ: shift node text horizontally

I expect this is either a duplicate or a silly question, but after some looking (30 mins+) I haven't found an easy answer. I didn't find this question particularly helpful, despite the title. What's ...
4
votes
1answer
204 views

Fit node to another node in a separate scope that has been shifted and canvas transformed

I want to fit a node to another node which is defined in a different scope which has been subject to the options "(x)shift and transform canvas" (see example code and image). Without any canvas or ...
4
votes
2answers
61 views

Adding information between and after nodes

I'm trying to compose a semantic tableaux for three days and I can not seem to figure out the last few missing pieces. Below is my, perhaps not the most elegant, code that I have come up with so far. ...
2
votes
0answers
49 views

Working with lengths in node shape definition

This question is a bit tricky. I am trying to build symbols of flow charts for pneumatic circuits. I don't need that many elements, but I would like to be able to extend my collection similar to what ...
6
votes
2answers
166 views

TikZ: drawing balancing diagrams like SolveMe Mobiles

I want to draw a diagram like this: In general, the diagrams in SolveMe Mobiles (section Play) I suppose I can do with raw code, but I want to do with custom command like: "make horizontal line", "...
2
votes
1answer
119 views

how to draw a line between a node and a line in TikZ?

I am a beginner in TikZ. I want to draw a simple network with 2 nodes and a network like this: My code is here: \documentclass[border=1pt]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, ...
1
vote
1answer
61 views

Tikz - Overlaping border on adjoining nodes

I am having trouble obtaining a single border between two adjoining node shapes with tikz. When I use a thick border, it leads to an overlapping double border at the connection of two nodes. How ...
1
vote
1answer
120 views

Matrix as node label

consider the following image (taken from here): I want to adapt this image as TikZ picture. I would represent each rectangular node of the tree as a TikZ node. Each node has two character-wise ...
1
vote
1answer
25 views

Text out of \axis

I would like to shift text of nodes out of axis area like in the first image. If this is difficult to realize, would be nice also the solution in the second image, in which the right margin of area is ...
2
votes
0answers
82 views

Nesting tikz pictures

I do prepare some standalone tikz pictures, which later I want to combine in a 'subfigure' style. Is it possible to put tikz pictures, drawn in absolute coordinates, into nodes, and combine them the ...
3
votes
1answer
107 views

Modify nodes near coords with \if

I would like to code something like this: if \thecitation is {This work} then nodes near coords={\thenumber{} [This work]} and plot color is Red else nodes near coords={\thenumber{} \cite{\...
2
votes
0answers
59 views

Coordinate naming in custom Tikz package

I want to make my own Tikz library/package or just a set of commands for making hydraulic diagrams within the Tikz environment. Say I want to draw a valve like (b) with the notation for the nodes in (...
12
votes
1answer
192 views

Tightly fit a circle around points

When using \node[circle, fit=(A) (B) (C)], the resulting circle is too big and doesn't touch the corners of the C node: \documentclass{article} \usepackage{tikz} \usetikzlibrary{fit} \begin{document} ...
1
vote
1answer
50 views

nodes near coords = value + word

In the following histogram from my.dat I would like that nodes near coords take the value of the number followed by a text. For example: nodes near coords = {<Label> from \cite{<Cite>}} ...
4
votes
2answers
310 views

Problem with tikz and rotating labels

I am fairly new to LaTeX and especially to tikz. I tried to draw a directed graph which actually turned out the way I wanted it to. I don't know how well written this code is, but it works. Code in ...
2
votes
1answer
241 views

With TikZ, is it possible to split a node horizontally and vertically?

With TikZ, is it possible to split a node horizontally and vertically? What I have so far is: \documentclass[tikz, border=10pt]{standalone} \usetikzlibrary{shapes} \begin{document} \begin{...
4
votes
1answer
61 views

“node contents” key not working with “\node at”

When I try to use something like \node[node contents={Test}] at (0,0){}; an error is throw : Use of \@next doesn't match its definition. To make it works, I can change the syntax to \path ... ...
1
vote
1answer
94 views

tikz drawing label between nodes

I am drawing TCP packet diagram and I have been using coordinates to draw my packets and to place the socket end points (IP:port) on my diagram. I now need to include the TCP packet type. I would ...
11
votes
1answer
1k views

TikZ: anchors of special node “current page” seem to be incorrect in landscape

I've got a document that I wish to format in landscape in conjunction with some material added as an overlay via TikZ. I can get everything correct if I create a portrait page, but not if I create a ...
2
votes
2answers
214 views

Adding extra texts to nodes in tikz automata

I want to draw a diagram like the one shown below. However, the nearest I can come up with is the following code. \documentclass{article} \usepackage{tikz} \usetikzlibrary{automata} \...
4
votes
1answer
106 views

Tikz \subnode positioning

I have a problem with \subnode positioning when coordinates are negative. The sample code below works well, if the third subnode is commented. Otherwise, all positions are broken. How can I prevent ...
3
votes
1answer
174 views

Tikz foreach does not work well

My goal is to create a complete bipartite graph with assigning numbers to the vertices. My idea was to use \foreach, which worked well for creating the vertices, but I couldn't add the numbers. What ...
2
votes
2answers
182 views

Node made on label and not position tikz

My question might be really dumb, I'm new with tikz, and I might not understand well the difference between a draw and a node Here is my picture \begin{tikzpicture} \draw[thin,ball color=red] (0,0) ...
1
vote
1answer
103 views

Node xshift with variable length/width

I am a beginner at working with LaTeX and especially tikz. I would like to generate a block diagram with a variable width in between the blocks, depending on the text of the arrow in between them. ...
1
vote
0answers
31 views

space inside tikz node [duplicate]

Why is there no space between the \x number and the text in my tikz nodes? There is a space in the final one in which I manually inputted a number instead of using a forloop. That's what I'd like the ...
1
vote
1answer
61 views

Adjusting fill=white in Tikz

In the MWE below, I'm looking for a way to adjust the fill=white boundary so that it doesn't interfere with the two arrows. If I remove the fill=white stipulation, there is ONE dot in the dotted arrow ...
2
votes
1answer
212 views

How to nicely place two heaps next to each other

I am quite new to latex and I have a question on how to place two heaps of this size nicely next to each other in latex. For example: \[\begin{tikzpicture}[every node/.style={circle,draw},level 1/....