{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
1answer
48 views

Example for creating an irregular pentagon node for tikz diagram

I am trying to create an irregular pentagon shaped node to use in multiple system diagrams. I cannot seem to get the code to work from following examples I could find. Below is a sample of what I ...
2
votes
1answer
40 views

Pre or post process some node's options (nodes in node and main node labels)

For setting sub nodes in node I use the following code (provided by Mark Wibrow): \documentclass[border=3mm, tikz, preview]{standalone} \makeatletter \def\...
1
vote
1answer
56 views

Drawing graphs in latex with text-only vertices

I want to extend the implementations of the examples here to represent graphs with vertices simply represented as text as shown in the figure . I wasn't able to find similar templates/examples in ...
2
votes
1answer
85 views

Different approach?

I'm trying on my first tikz diagram, and it's working okay, but I've run into some problems and I think that my solution is starting to be more discretionary. Heres my code: \documentclass[png,...
0
votes
0answers
46 views

Position of multiple arrows: Arrows must end at same position

I want to get two vertical sets of flowcharts and join their elements by arrows. MWE is given below. I want to draw two arrows from A1 and B1 to A2 with their heads meet at the same point. I tried ...
3
votes
1answer
75 views

Create split rectangle node with different height parts

I'm trying to find an elegant solution to make a bunch of shapes like this The best I've come up with is drawing a split rectangle, with a style like \tikzset{ entry/.style={ draw, ...
9
votes
4answers
571 views

Draw a node as a square with TikZ

I googled but cannot find a solution. Is that possible to draw a node with TikZ which will be a square and NOT a rectangle? Minimum working example can be something like this: \documentclass{article}...
1
vote
1answer
37 views

Illegal unit of measure from `\node`

I have the following tikz commands \begin{tikzpicture} \node at (3.2,0) {$\mathbb{R}$}; \node at (-.2,-.25) {$I$}; \draw (-3,0) --(3,0); \node ...
2
votes
0answers
51 views

Tikz behaviour at page end

I am using tikz to put braces around an enumerated list as mentioned here. I have two curly braces with multiple comments as shown below The problem is I am not able to get the braces at the right ...
4
votes
2answers
96 views

Tikz place drawing at a certain node

The following figure stands for a saturation block in a block diagram: The idea is to use this figure as a node at different positions in drawings and place it relatively to other nodes. Consider ...
2
votes
1answer
39 views

color (solid) individual nodes in tikzpicture matrix

in the following MWE, I create a 'Coates diagram' I use for one of my classes. What I haven't been able to figure out is...how to colour the individual nodes? I want them to be solid, say, RGB-based ...
6
votes
2answers
166 views

TikZ: Missing parts of flow chart

Could sameone kindly help me in this tikz flowchart that are missing texts and lines, please? I have tried to solve by myself, but I am stuck now. Original image My Code \documentclass{...
6
votes
1answer
84 views

Tikz connecting nodes with draw to problem

I am trying to make a series of nodes that are all connected to each other in tikz. This is an MWE: \documentclass{standalone} \usepackage{tikz, pgfplots} \begin{document} \begin{tikzpicture} \...
3
votes
0answers
90 views

Circular flowchart alignment

I´m trying to create a circular flowchart using the smartdiagram package but I can't get the nodes properly aligned. My code: \smartdiagramset{border color=none,set color list={blue!40!,blue!40!,...
2
votes
1answer
174 views

Nicer inverse symbol

In my diagram, I would like the operator to be centred, i.e. not be influenced by the inverse symbol. And preferably a smaller minus sign, while we are messing up latex anyway. An excerpt of tikz ...
0
votes
1answer
14 views

How to prevent misalignment of a vertical column when a node label is displayed

I am trying to make a vertical column of various moon phases using a macro that generates circles, but when I add a node label to a circle (to designate that it is a full moon) it shifts the circle ...
1
vote
1answer
14 views

How to prevent an object from moving when adding a node label [duplicate]

I am trying to make a vertical column of various moon phases using a macro that generates circles, but when I add a node label to a circle (to designates that it is a full moon) it shifts the circle ...
1
vote
1answer
111 views

How can I make horizontal direction for last node using Tree

I am using tikz to draw my tree. I want to adjust the location of last nodes as expected figure(last figure). Second, I want to locate the tree in centering on page. Could you help me to fix the latex ...
0
votes
1answer
63 views

Macro involving TikZ node does not work

I'm having difficulty with a macro I created; \documentclass{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{tikz} \newcommand{\LabelText}[3]{% \begin{tikzpicture} ...
2
votes
1answer
115 views

align node bottom edges vertically

I would like to draw a diagram with boxes of different heights such that the bottom of each box is on the same height. Additionally, I would like to connect the nodes by horizontal arrows. My approach ...
0
votes
0answers
58 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of \documentclass[tikz,border=2]{...
1
vote
1answer
64 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
74 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}} ; \end{...
5
votes
3answers
238 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
69 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
79 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: \documentclass[tikz]{...
5
votes
3answers
127 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
117 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 distance=2....
2
votes
1answer
82 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
46 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
81 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
92 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} \usepackage[...
2
votes
0answers
67 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} \usetikzlibrary{...
1
vote
1answer
73 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
104 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
116 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} \usetikzlibrary{...
3
votes
3answers
72 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
65 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
160 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
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
129 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
410 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
214 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
225 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
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} ...
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
117 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. ...