{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

4
votes
0answers
121 views

TikZ: turn a box into a shape

I want to turn a rectangle with ports in the top and bottom into a shape I can use with a node. How can I do this? \documentclass[tikz,14pt,border=10pt]{standalone} %%%< \usepackage{verbatim} ...
4
votes
0answers
567 views

What exactly does `inner sep` mean when node shape is circle

inner sep is not behaving as I would expect: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[every node/.style={circle,draw}] \coordinate (P1) ...
4
votes
0answers
65 views

Variable Input/Output node using a new command

How can I create a variable input/output node using a new command as in the following picture Say for example, I know that the node will have n inputs and m outputs, which I enter the name as an ...
3
votes
0answers
35 views

Why does the meaning of “above” seem to change when my “shift” coordinate changes?

The only difference between these two examples is the size of the xshift. The MWE with xshift=-1.5in and xshift=-1.0in places the text where I expect, but not with xshift=-0.75in and xshift=-0.5in: ...
3
votes
0answers
89 views

How to automate right node alignment for labels from table AND marker size AND marker color of scatter plot?

Problem: Labels from table are placed right, but overlap. Is there a way to automate alignment of the labels near nodes so that labels do not overlap? This is a small example but I have bigger table ...
3
votes
0answers
403 views

TikZ scaling graphic and adjust node position and keep font size

I have several pictures in my thesis. I want to draw arrows with text over these pictures. After that I want to scale the picture, but the node position should adjust to the scaling and arrows, and ...
3
votes
0answers
95 views

Scalable node shape size

I can adjust the shape of nodes using commands such as minimum width or inner xsep, but these require explicit units. When I scale the entire figure (\begin{tikzpicture} [scale=0.5]) it does not scale ...
2
votes
0answers
120 views

Beamer - Title page is perturbed when adding notes

I'm working on a Beamer presentation in which I want my notes to be along with a small preview of the current slide only (bigger than the default). I worked on the following MWE, which seems to work ...
2
votes
0answers
83 views

Colour of edges according to edge value

I am currently modelling traffic and my map of roads consists of nodes connected with lines. For each road there is maximum capacity and amount of traffic and each road therefore has a utility value ...
2
votes
0answers
105 views

Lattice or Per Gelosia multiplication - how to avoid the use of the fp package

Is there a simple way to improve the harmony of the nodes in particular of the upper row and the right column distance ? Edit Thanks to egreg the node are more in harmony. Still : Is it possible to ...
2
votes
0answers
134 views

Node at each end of arrow, Tikz

I'm drawing a vertical arrow and I want to have a node at each end, but tikz seems to be putting the lower node in funny places: This is the arrow with the node above in the right place: ...
2
votes
0answers
254 views

How should I read the current TikZ “label distance”?

I decided that I don't like the behaviour of the label functionality of TikZ. I want to get labels that are positioned using the anchor opposite the specified label angle. So for example if the label ...
2
votes
0answers
266 views

TikZ: How to set a node on an exact position on a line?

to set a node on a line the usual way should be something like this: \begin{tikzpicture} % place nodes \node[draw] at (0, 0) (a) {A}; \node[draw] at (5, 0) (b) {B}; \node[draw] ...
2
votes
0answers
88 views

different coordinate frames for anchors and backgroundpath in node shapes?

I want to create a triangle shape for flow diagrams, so far I succeeded but the anchors I have defined are badly placed. This seems to be wired as I have just copied and pasted the code from the ...
2
votes
0answers
135 views

TikZ shape definition from TikZ rather than PGF

Is there a way to define a TikZ shape using TikZ code rather than PGF? I'd like to have a gear shape (and some others) that I can use as a node and add text to it, have arrows go in and out of it, ...
1
vote
0answers
31 views

How can I make the node order for references in TikZ not matter?

Question I am wondering if it is possible to make the order of nodes irrelevant, such that references work regardless of when they are mentioned...like some kind of pre-parsing of the code that ...
1
vote
0answers
108 views

Issue with `pgflibrary` and MiKTeX

After reading "Tikz shape similar to rectangle with selective drawing of borders," I tried to compile the following code: \documentclass[tikz]{standalone} \usetikzlibrary{chains} ...
1
vote
0answers
155 views

Problem with PGFPlots and Tikz fading library with disappearance of nodes near coords and irregular fades

It seems like whenever I turn on Fading from Tikz Fading library, the nodes near coords parameter to the axis environment is not processed by PGFPlots correctly. I am attaching the code and the image ...
1
vote
0answers
111 views

pgfplots change fontsize to 1pt nodes near coords

i want to change the fontsize of the "nodes near coord" and also the y tick labels in a pgfplot to 1pt (no worries, that's just of theoretical interest). I found that ...
1
vote
0answers
229 views

pictograms, Iconography, scalable shapes, custom nodes, shapes

Hy, I'm building up my own iconography, a set of pictograms that represent ideas so that i can connect them to illustrate more complex systems. I would like some suggestions of which is the best ...