{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

0
votes
0answers
53 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of ...
1
vote
1answer
54 views

Tikz node not displayed in beamer

I'm having a problem with tikz game trees on beamer. The root node should be solid, but doesn't appear at all.. This code works in my paper but not on the slides I'm preparing with Beamer. Follows ...
2
votes
1answer
66 views

Store 2 values in a node separated by horizontal line in the middle

I have the following Binary tree: \begin{tikzpicture}[ every node/.style={draw,circle}] \node {10} child{node{5}} child{node{20}} ; ...
5
votes
3answers
208 views

pgf/tikz node custom shape

I cannot figure out how to get a node shape similar to this in pgf/tikz, I don't need the colours, just the black and white shape. Sorry I don't have any code as nothing I've tried gets me remotely ...
3
votes
1answer
63 views

Chamfered Rectangle and Minimum Text Height

pgf/tikz: I am trying to create a hexagon with a fixed height . Using the chamfered Rectangle. I can turn the rectangle into a hexagon, but when I try to apply the minimum height option it seems to ...
3
votes
1answer
73 views

distribute nodes evenly

I am trying to built a graph by manually placing the nodes using relative placement. But I face some issues with the way the nodes are placed. I tried to include it in a MWE: ...
5
votes
3answers
113 views

nodes vs coordinates. lines are drawn inside nodes

The plot tries to draw the joints and links of a robotic manipulator. Initially I defined the points for the joints as nodes and this resulted in some shift when lines were later drawn between them. ...
2
votes
2answers
99 views

how to modify the code to change the size of blocks or nodes with maintaining the symmetry

How I can change the size of nodes to add some text in it. Below is code and second diagram is generated from this code. \begin{figure} \usetikzlibrary{trees} \begin{tikzpicture}[sibling ...
2
votes
1answer
70 views

Is there a possibility to make a circle around a node like on the photo?

I would really like to have a circle around the first node of my tree like you can see on the photo. Is there a possibility? I only startet with latex and there is so much new for me... Thank you!! ...
1
vote
1answer
44 views

Putting nodes in the middle of the figure

I have a figure consisting out of several lines: \begin{tikzpicture} \shade[top color=black,bottom color=white] (-2,2) rectangle (2,1.75) node [above] {$n_2$}; \shade[top color=white, bottom ...
1
vote
1answer
68 views

Adjust the position of node label in graph

Question is the position of node (16, 20) is mixing with line. How to get rid from this? That is i want to plot this node in right side so there is no chance of collision with line. This is what i ...
1
vote
1answer
69 views

Grouping two blocks in a container horizontally within a diagram

How can I group C and D together horizontally instead of vertically as shown in the diagram below while still maintaining the center alignment of the container? \documentclass{article} ...
2
votes
0answers
61 views

problem when using scope and rotate with tikz

I wish to take this picture with tikz turning figure generally this type of scheme does not ask me problem and I wrote the following code \documentclass{article} \usepackage{tikz} ...
1
vote
1answer
72 views

Proper arrangement of nodes in graph

See what i made in below example. You can observe that in my graph there are six nodes. Now my question is How can i put all this nodes manually without using \foreach. Because in graph some nodes are ...
2
votes
1answer
89 views

Load custom TikZ nodes from an SVG file?

I want to use custom nodes in TikZ, with shapes loaded (or otherwise converted) from an SVG file because I don't have enough time to learn pgf to draw the shapes I want. How can I do that?
1
vote
2answers
96 views

Tikz node text vertical align with linebreak

I want to vertical align text in a chain of nodes. One node has a linebreak. What is the best way to do this? This is my current example: \documentclass{minimal} \usepackage{tikz} ...
3
votes
3answers
71 views

How to conditionally color nodes in a grid with a style

I have 3 styles called S1, S2 and S3. I want to conditionally color the nodes. I tried the \ifnum with no luck. You can see the single line of code that has been commented out. That is what I ...
3
votes
1answer
58 views

How to draw a grid with center label and north east label

I would like to implement this picture. The label in the center is arbitrary, but the label in the northeast corner is an ascending integer. My MWE was the best I could do. Here is my MWE. ...
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 ...
3
votes
1answer
134 views

TIKZ Tree: Change angle between Nodes

I am struggling to find out how to change the angle between nodes in tikz trees. I have already tried the attribute sibling angle=... specifically for child nodes or as level 1/.style=... attribute at ...
1
vote
1answer
31 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. ...
2
votes
2answers
108 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
118 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
303 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
52 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 ...
5
votes
2answers
203 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
193 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 ...
8
votes
4answers
340 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} ...
3
votes
1answer
127 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} ...
3
votes
2answers
115 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. ...
5
votes
1answer
57 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
88 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} ...
3
votes
2answers
204 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 ...
3
votes
6answers
256 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) ...
1
vote
2answers
256 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
91 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 ...
1
vote
2answers
82 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
143 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} ...
3
votes
3answers
538 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
2answers
56 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
164 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
104 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
60 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
98 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
81 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
94 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{} ...
2
votes
0answers
58 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
180 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} ...