Questions tagged [nodes]
{nodes} is about nodes in {diagrams}. A node typically consists of a shape which may or may not have a border and a filling, as well as some (text) content but it may also be empty. It can be connected with other nodes or parts of the diagram via edges.
1,476
questions
1
vote
1
answer
34
views
How to slant the edges in the given graph?
I am unable to draw the following graph in tikz.
I tried the following code in tikz but it is not producing the desired output. Can someone please help me out.
\begin{figure}
\centering
...
1
vote
0
answers
37
views
Update tikz style of a named node type to be a box with two colours
Right now I have a node type that looks like this (pictured with wires coming out):
but I'd like it to just have two colours -- white on the left and orange on the right (no shading). I've read about ...
0
votes
0
answers
35
views
\draw arrows convergence
I want to make the tips of the arrow illustrating the enerhy gap level converge with each other with a little bit of space between them, just like I drew. Also, I would like the arrows to be thicker.
...
0
votes
0
answers
25
views
arrows convergence [duplicate]
I want to make the tips of the arrow next to 𝐸𝑔 converge with each other with a little bit of space between them. Also, I would like the arrows to be thicker.
These are the code lines I used:
\begin{...
1
vote
2
answers
83
views
Making a node in TikZ occupy the vertical space of one line - at least as far as positioning a "pin" is concerned
In the following code for a diagram, I have a "pin" draw from the vertex of a parabola. I would like it drawn to the middle of the node as if "V = (0,0)" were not in the node.
Here ...
3
votes
1
answer
97
views
Tikz Border Problem
I am trying to create the figure below using Tikz. It comes from Larson/Battaglia page 103 (see attached image). I have started the picture, but I just don't know how to create the arrow at the end. ...
0
votes
2
answers
56
views
TikZ Node with not exceeding right page border
I have a beamer presentation where I want to have on top of each frame the title and subtitle of the given frame.
In my beamerouter file, I created the main template for the frames with the following ...
2
votes
2
answers
44
views
Draw coloured edges in forest
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[ngerman]{babel}
\usepackage{forest}
\begin{document}
\...
3
votes
3
answers
162
views
Rotate edges in tikz
this is my code for a directed graph. I use the rotate function and now the edges are in a muddle.
\begin{turn}{90}
\begin{tikzpicture}[>=Stealth,->,line width=.7pt]
\matrix [matrix of math ...
2
votes
0
answers
36
views
Latex errors when the number of nodes of a graph is more than 26!
I do not need any counter, I am just trying to draw a graph with 35 nodes. However, it gives the following errors: counter too large! and missing \endcsname inserted!
The problem, I guess, is ...
0
votes
1
answer
72
views
Problem of resizing and scaling
i have to make this table
My code have 2 problems, one i want (grey or dotted) line to be at scale entry 1, then entry(2,5,10) will be on one side and entry (0.01,0.05,0.1,0.2 and 0.5) on other side. ...
1
vote
0
answers
57
views
How do I scale nodes in TikZ without scaling the text inside?
I want a node that is shaped like a hexagon, but slightly stretched on the x-axis. Currently, I achieve this, but it stretches the text inside as well. How do I do this without stretching the text?
...
6
votes
4
answers
427
views
Node in a middle of a line strange behaviour
As you can see, the Greek letter theta which is expected to be just below the curved stroke instead takes on a completely unexpected position.
What could it be due to?
\documentclass[14pt]{article}
\...
3
votes
2
answers
146
views
Add Horizontal Text using Tikz
I am trying to make a template for my AP Classroom that is similar to the picture that is shown. I am wondering how to add the text ''Do not write beyond this border. I am having trouble because ...
1
vote
2
answers
58
views
Box around nodes to account for the label of each nodes tikzpicture
The problem
I am drawing boxes outside of labelled nodes and the boxes does not account for the labels above the inner nodes.
Here is the MWE of my document:
\documentclass[10pt]{article}
\ExpandArgs{...