{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

5
votes
2answers
83 views

How can I make a table with some lines superimposed?

I made the following table using PowerPoint and now I want to generate it using LuaLatex. I need to use the font Arial with size 10,5 pt. I find myself with several challenges: Generating the table ...
2
votes
0answers
14 views

TikZ: Problem with relative node positions for “big” nodes [duplicate]

I want to place two nodes besides each other, using TikZs right of= placement. But if the first node is two broad, like in the minimum example below, this does not work right. How can I make TikZ ...
3
votes
2answers
52 views

How to define a point for connecting nodes from two different tikz pictures?

I need to define a point on this page and connect several nodes from these two different tickzpicture figures. \documentclass{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, ...
1
vote
1answer
33 views

How to modify the shape, font and color of tikzpicture labels? Here, I need white color circular labels beside every node

\documentclass{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, amssymb} \usepackage[utf8]{inputenc} \usepackage{dtklogos} \usepackage{tikz} \usepackage{verbatim} \usetikzlibrary{...
5
votes
1answer
43 views

**Why** does cycle not return to the starting node **at all** if I construct a path between predefined nodes, rather than coordinates, in TikZ?

cycle doesn't work as I would naïvely expect it to if I use the node operation rather than coordinate to mark my points. I realise that, in the case of a node, TikZ is drawing to and from the borders ...
5
votes
2answers
77 views

How to pass a variable to the minimum size key in tikz

I want to pass a variable to the minimum size key of a node, but it doesn't work. Here is what I tried: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \...
3
votes
1answer
37 views

Positioning nodes and calculate edges coordinate

I am trying to draw a flowchart with tikz, but I have 2 problems. The first one is about the positioning of (action5). I want that node to be left (action4) and below (test1). In my code, the node is ...
4
votes
1answer
47 views

Referencing a node for use in postaction

The shortcomings of tikz trapezium shape have already been highlighted. I am looking for a parallelogram shape that strictly respects given angles and text width, while allowing for vertical ...
4
votes
0answers
34 views

Lines do not reach the border of node

I want to make a tikz-picture of a Hasse diagram and by problem is that the lines between nodes stop a bit short of the border of the node and I can't figure out how to fix this. Here is my code: \...
1
vote
0answers
45 views

x,y axis label values should be node label

I am new in tikz, I want to draw x,y axis and label of x,y axis should the node labels \documentclass{standalone} \usepackage{mathtools} \usepackage{pgfplots} \usepackage{siunitx} \sisetup{per-mode=...
1
vote
0answers
45 views

Where can I find the comprehensive list of TikZ node types?

Many TikZ examples use node types like "sum", "process", but I can't seem to find a list of "factory" node types in either the references or elsewhere on the web. What am I missing here?
4
votes
1answer
94 views

How to place two plots inside a node?

I'm eager to have two plots (of the algebraic functions) placed horizontally inside a node. I'd like them to be signed, so something like caption (below the plot) is needed. One of them — "the good ...
4
votes
1answer
43 views

Positioning TikZ block centrally above two child blocks

I have the following MWE of a Beamer slide: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{arrows,positioning,shapes,calc} \usetheme{Singapore} \begin{document} \begin{frame} \begin{...
4
votes
1answer
38 views

“append after command” in a tree (child path operation)

Related: Problem with "append after command" and "insert path", but I did not understand how to apply the solutions there in my case. I'm defining a simple tikz style which uses ...
4
votes
1answer
71 views

Draw nodes with tikz above each other

How can I draw nodes horizontally listed next to each other but with two nodes vertically listed as in the figure. MWE: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{...
1
vote
1answer
173 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 ...
6
votes
1answer
85 views

How to rotate the box

How to rotate the box? How to change the above grid to the below shown grid I used this code to rotate \draw[step=1, red,thin,rotate=30] (-1cm,-1cm) grid (1cm,1cm); but i don't wan't to ...
2
votes
1answer
53 views

Remove upper part in an image

I am new in tikz, I didn't want the red boxed part in the below image, I am using the following code. How I change my code ? \documentclass{standalone} \usepackage{mathtools} \usepackage{pgfplots} \...
1
vote
0answers
39 views

How to rotate grid only / prevent the rotation of grid

I am beginner in tikz. I am using the following code so that the grid also rotating how I prevent the rotation of grid / how I rotate grid by 0 . \begin{scope} [xshift=15 ,yshift=0, rotate=30] \...
5
votes
2answers
148 views

cover part of a picture, defined by text

I would like to show a picture (in the example replaced by a red rectangle), but only parts of this picture should be visible, defined by a text. So, in this example only the part of the picture ...
1
vote
0answers
37 views

SOA Map based on Tikz

I would like to create a SOA Map based on Tikz or pgf. Basicaly this means a Matrix with realations from level to level, so that i could place my boxes in a easy way. I does not have to be as ...
11
votes
1answer
6k views

Draw a graph in Latex with Tikz

I am interested in outputting this graph in latex using tikz: So far I got this: and my tikz code is \begin{tikzpicture} \node[shape=circle,draw=black] (A) at (0,0) {A}; \node[shape=...
3
votes
1answer
48 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 ...
5
votes
3answers
83 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} \ncarc[liftpen=2,...
3
votes
1answer
28 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 ...
2
votes
2answers
92 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. ...
1
vote
0answers
55 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}$}; \end{tikzpicture}...
8
votes
1answer
103 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
39 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
50 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, ...
3
votes
2answers
58 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
47 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 ...
6
votes
1answer
2k views

How to make different shape nodes in automata in TikZ?

This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows,fit,calc,positioning,automata} \begin{document} \begin{tikzpicture}[shorten >=1pt,auto,node distance=7 cm,...
0
votes
1answer
45 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: \tikzstyle{...
11
votes
2answers
3k views

How to force nodes to have the same size in tikz matrices

Is there some intelligent way to have several tikz nodes have the same height and width? Consider the following example with output below. I'd like every node in each row to have the same height ...
5
votes
2answers
73 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{ ...
2
votes
1answer
33 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 ...
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
59 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 ...
14
votes
4answers
3k views

How to draw nodes with equal sizes, regardless label value/length?

I would like to make 12 nodes with same sized circles. Currently, the radius of a circle for single digit number and two digit numbers are different. Let r1 be the radius for single digit numbers. ...
1
vote
1answer
41 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
46 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
33 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
84 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
68 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
96 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
87 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
36 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} \usepackage{tikz}...
1
vote
0answers
60 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
73 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 ...