{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

3
votes
1answer
43 views

How to use a \pic in a node's text area {}?

How can I achieve that the \pic "lightning" will appear in the node's text area? I cannot use it there, so I have commented it out. I know or think it's a completely different "environment" (a text ...
4
votes
3answers
55 views

Filling the space between two arcs between two nodes

I have the following code: \begin{pspicture}(-1,-1)(2,2) \psmatrix[rowsep=3cm,colsep=3cm,mnode=circle] [name=A]A & [name=B]B \endpsmatrix \ncarc[arcangle=30]{A}{B} \naput{4} ...
3
votes
1answer
27 views

How to increase background color of a node to input text

Obviously I need a background color for the rightsided text. Code is from the Tantau manual, p.45. It's a riddle for me at the time. Something wrong with the node which keeps the text? For any answer ...
1
vote
0answers
53 views

How to write colon in the name of a node

I want to have have ":" in the name of one node but my compiler hanged when I put ":" there. I mean the following code in okay \begin{tikzpicture} \node[] at (5.1,-1) {$Z_t^{1 N}$}; ...
2
votes
2answers
85 views

Condensation of Digraphs in Tikz?

How can I create a condensation of a directed graph in Tikz? Goal 1 The left is a directed graph, digraph, while the right is its condensation, source is page 183 of Handbook of Graph Theory. ...
8
votes
1answer
90 views

Nodes midway sloped - how?

I have the picture, MWE \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[domain=-1.5:3,scale=0.8] \draw[gray!50, thin, step=0.5] (-3,-2) grid (10,6.5); ...
1
vote
1answer
35 views

tikz multi corners arrow looping around diagram

I'm trying to use tikz to draw algorithm diagrams. Assuming we have nodes A, B and C linked by arrows like so: A-->B-->C How to make an arrow that goes from the bottom of C to the top of A by going ...
4
votes
1answer
37 views

Add additional anchor to existing TikZ shape and modify existing anchor

I have the following code, which should give me a NAND gate: \tikzset{ block rect/.style = { draw = \linecolor, fill = \blockcolor, rectangle, minimum height = 1.6\blocksize, ...
2
votes
2answers
44 views

How to align tikz node text vertically centered and horizontally left

Assume a tikzpicture consisting of three nodes with node text. \documentclass[border=5mm]{standalone} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{calc, shapes, fit, positioning} ...
3
votes
1answer
36 views

Adding a textbox to a pgfplot

From Matlab I have a set of data from which i create a graph. The plot with Latex works perfectly fine. To this plot I am adding a coloured square in the background, which is also working. Here a ...
0
votes
1answer
43 views

How can I add multiple cross line within a node of tikz?

Here is my question, I want to add a node on top of several lines of code, representing that these code are not used anymore. Right now it is something like this: Here is my code: ...
2
votes
1answer
32 views

TikZ - Improving alignment across rows - Cont'd

The following question is a follow-up to that post. Assume five nodes, arranged in three rows. I would like to arrange these nodes in the following pattern: |----Node A----| |Node B| |Node C||Node ...
5
votes
2answers
69 views

Decorate a TikZ node with black corners

I want to decorate a rectangular node with little black boxes in the corners: So far, I was able to put a black box in the lower left corner using the decorations.markings TikZ library: \tikzset{ ...
1
vote
2answers
38 views

TikZ - Improving alignment across rows

Assume four nodes, arranged in two rows, with text inside each of them. Further assume that I would like to arrange these nodes in the following pattern: |----Node A----| |Node B| |Node C||Node D| ...
4
votes
1answer
54 views

Tikz Nodes do not take absolute coordinate values

this is my first post so please correct me if I am doing something wrong. I wish to draw a tikzpicture with nodes and use here absolute coordinates. I don't know why, but somehow my coordinates seem ...
1
vote
1answer
40 views

Connecting nodes of a duplicated graph

How can an edged be created between two copies of the same graph structure? The following is an example of the desired output (the labels don't need to be rotated with the object). Specifically I ...
0
votes
1answer
43 views

TikZ: using ‘node contents’ key for graph nodes

TikZ allows node contents to be set using an option: \tikz{\node[node contents=whatever];} Note the syntax, the following is not allowed: \tikz{\node[node contents=whatever] {};} and gives an ...
0
votes
1answer
31 views

TikZ: create single part node from multipart one with default text

I would like to create a style I can give to a node such that it is a multipart node (2-part, say) with one part's text fixed. I know I how to create multipart nodes using, e.g., circle split and how ...
1
vote
0answers
76 views

Undefined control sequence when using TikZ

I looked up how to use TikZ to make an ERD using crow's foot notation and found this. When I c/p the code provided there, there is no problems at all,but when the preamble is pasted into mine and the ...
3
votes
1answer
66 views

Tikz: four nodes above a node?

There are commands: left, right and above. I can get three nodes above a node by them but without creating empty nodes, I cannot think other way. So how can I get four nodes above a node in Tikz? ...
6
votes
1answer
83 views

Tikz path starting from inside a node

How can I have an arrow, which goes from an outer node to an inner node, leave the outer node from the inside of its border. In the MWE below the arrow leaves the outer blue node's border from the ...
2
votes
1answer
82 views

Tikz pictures inside Tikz pictures: typesetting failing in lattice subgraph with edges

I define Tikz pictures within each other. The typesetting fails in a way that the edges are not drawn properly: the edges are not drawn from the centers of vertices in the lattice subgraph structure, ...
3
votes
1answer
34 views

Side by side nodes, Horizontally aligned

I am trying to have two rows of nodes, but as you can see, the nodes are not horizontally aligned, so the arrows are off. How can I fix this? Result: MWE: \documentclass{article} ...
1
vote
0answers
58 views

How to return a list of connected nodes? Tikz

I am building a graph with nodes and edges in Tikz. Is there any commend which returns array of connected nodes to a particular node? for example, I have 3 nodes A,B,C and only A and C are connected ...
5
votes
2answers
69 views

Arrows to nested nodes

I construct a TikZ image with nested nodes: As you can see, I try to add arrows from the outer node to the inner one. How is it possible to target the arrows to the correct position of the inner node ...
2
votes
1answer
32 views

tcolorbox disable repeated text in overlayed node

In the following MWE (built from http://tex.stackexchange.com/a/170767/69378) I have demonstrated that title text in an overlayed tcolorbox node gets repeated across page breaks. I have checked the ...
4
votes
1answer
74 views

Plate captions overlapping

I am trying to draw a probabilistic graphical model using BayesNet, a TikZ library for drawing graphical model in latex. I have tried to insert plates caption - Tasks i, Classes c, workers j, ...
1
vote
1answer
46 views

Problem inserting a complicated equation into a (tikz) node

I have a problem inserting an equation into a tikz node. I'm used to insert successive equations that are separated with 'align', but with my equation (succesive lines, put together with two braces), ...
3
votes
1answer
37 views

Drawing a node with a line beneath

I'm trying to draw a line beneath a node. The macro is used to label parts of a sentence. Here is the code; \documentclass{article} \usepackage{tikz} \newcommand{\LabelText}[3]{% ...
1
vote
1answer
33 views

Macro involving TikZ mode does not work

I've create a macro for labelling fragments of sentences. It's designed to replace a segment of text with a label. Unfortunately, it fails to compile whenever the text fragment contains a ...
2
votes
1answer
40 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
34 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 ...
1
vote
1answer
47 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
82 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: ...
0
votes
0answers
41 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 ...
2
votes
1answer
65 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
480 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: ...
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
46 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
84 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
34 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
151 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 ...
6
votes
1answer
80 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
87 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 ...
1
vote
1answer
145 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
87 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
54 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
96 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 ...