{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

5
votes
1answer
45 views

Consistency in the appearances of loops from rectangular nodes

I would like to have a left-positioned loop "look the same" as a below-positioned loop emanating from a rectangular node. \documentclass{article} \usepackage{tikz} \tikzstyle{rect} = [rectangle, ...
4
votes
1answer
37 views

how to add labels to arrows avoiding conflicts with existing node shapes

Ok, I've made the following diagram: I want to add text labels to the various arrows (at the red points) and I want to ensure that the labels do not overlap the dotted lines, the arrow lines etc. ...
1
vote
0answers
40 views

LaTeX Tikz - “did you forget a semicolon” with this flowchart [closed]

I cannot get this document to render. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} % Define block styles \tikzstyle{decision} ...
2
votes
0answers
21 views

Arrow box aligment

I have to align vertically "arrow boxes" in the picture below? So I have two questions: How to read "inner sep" register value and bounding as well connecting lines thickness register values of ...
3
votes
1answer
42 views

Tikz: Lining up input and output nodes in multiple input multiple output diagram

I am attempting to draw a multiple input multiple output style diagram, using code that uses the following structure: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} ...
0
votes
2answers
37 views

How to make a diagram of the Petersen graph using pstricks

How do I make an equilateral star inside a pentagon?
3
votes
1answer
71 views

Is it possible to set a maximum node width in TikZ

I would like these two nodes to be the same size -- the size of the smaller one. In essence I'd like to be able to set maximum size=6mm but there is no such option. How can I do this? ...
4
votes
2answers
41 views

Issue with nodes using tikzstyle

I am having some trouble forming a game tree. My third layer appears to want to connect to the labels of the layer above, rather than the end nodes. Here is an image and the following is what is ...
5
votes
1answer
84 views

How to fix naive solution for elements grouping?

I'm trying to create elements grouping .pic: have children of unknown layout (doesn't even has to be node structure, it could even be plot, or tree ) act like a node - anchor it as one element, ...
1
vote
0answers
44 views

How to define node blocks as composition from inside out?

I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them. I need to define block with ...
2
votes
1answer
52 views

How to create tikz `\node` command and retain access to it's properties from outside?

I'm trying to create latex command for specific node layout in tikz: \begin{tikzpicture} \node (anode) [lestyle, rectangle split, rectangle split parts=2] { \textbf{node A} ...
1
vote
1answer
41 views

Beamer: Nodes inside itemize

I am trying to include nodes as items, so that the text is aligned as it was a normal item, but I could still include arrows and boxes as in the MWE below: \documentclass{beamer} \usepackage{tikz} ...
4
votes
2answers
150 views

TiKZ matrix of objects

I am drawing diagrams which consist of grids, some cells of which are filled with circles, like this: I created this picture with \begin{tikzpicture}[scale=0.6] \draw[shift={(0.5,0.5)}] (0,0) ...
2
votes
1answer
56 views

Label node in CircuiTikz

It is easy to set a label to a component, but is it possible to place a label on a single node? For example, what I would be after, circled in red here:
3
votes
1answer
23 views

Long node undesiringly cropped outside of pgfplot

I have a node within a pgfplot that is rather long. I know I can move the node along using pos but that's not what I want, since in the actual applications I have more objects on the plot. On the ...
6
votes
1answer
79 views

Flowchart-decision shape - enforce aspect of pgf diamond shape

I am using TikZ/PGF to build a flowchart. To construct the shapes I need, I used the flowchart package plus the ones given in this excellent answer. I modified the decision shape to have the aspect ...
6
votes
1answer
73 views

Node transparent background

I have a very specific problem that repeats several times. On picture I have a line and above line I have an arrow with a node. Because of the line, node is not visible enough (picture left). What ...
2
votes
1answer
21 views

How to supply marker options such as rotate to \pgfuseplotmark?

I want to use a marker style for a node, so I'd like to have a bit of code like this: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{plotmarks} \begin{document} ...
3
votes
1answer
72 views

Changing filling of some node in tikzpicture using \matrix

I have used the handy \matrix trick in a tikzpicture (see code) to build up a graph. Now I wanted to change the filling of one node. I can't find out how! Of course, I can find out, how to change ...
3
votes
1answer
43 views

Spacing issue in subfigure/tikzpicture when labelling arcs

I have two simple graphs side by side that align perfectly when the arcs are not labeled, but as soon as I add the labels I get a spacing issue where there is a space between the second figure and its ...
1
vote
1answer
60 views

Remove white space from empty nodel label in tikz-qtree?

With empty nodes in tikz-qtree how do I remove the white space where the node label usually appears? In the following example I want to remove the white space for the node under Foot 3. ...
2
votes
0answers
30 views

How to print gnuplot fit params in a tikz node?

I have defined a macros for curve fitting and plot as: \newcommand{\logfit}[4]{\addplot[no markers, black, line width=0.15pt] gnuplot [raw gnuplot] { %command for log fit f(x) = b*log(x) + c; b=0; ...
3
votes
1answer
55 views

Tikz style which can be used via \tikzset to disable text

I am looking for a \tikzset with which I can disable text from rendering. With a \draw I can say draw=none, as in (2), but is there something equivlaent to text=none I can use to disable the text as ...
6
votes
3answers
110 views

TikZ: Node position in draw environment

I am drawing some diagrams of mechanical systems which have many rotated components. For each of these components I am attaching a coordinate system, which is often rotated with the component. I am ...
4
votes
2answers
125 views

Defining a new node shape for an electronic multiplexer

I found this question which suggests making a multiplexer symbol with this path: (0,0) -- (1,-0.5) -- (1,-1.25) -- (1.3,-1.25) -- (1,-1.25)-- (1,-2) -- (0,-2.5) -- (0,-1.75) -- (-0.3,-1.75) -- ...
2
votes
1answer
61 views

Node below axis annotation in tikzpicture/pgfplots

I want below the axis annotation a node (with some text) and from this node a arrow should point to a specific point on the x-axis MWE \documentclass[paper=a4, fontsize=12pt]{scrreprt} ...
3
votes
3answers
67 views

Change the distance of text lines in tikz nodes with Beamer

I have a tikz tree that doesn't fit on the slide. The theme and the linespread is given, so I only want to change the line distances of the text in the tikz nodes. But nothing worked for me :( ...
1
vote
1answer
47 views

creating a background for a group of nodes

How can I put a background for a group of nodes (but the group of nodes is created before drawing the background). The problem is that if I draw a rectangle before creating the group (i.e. before ...
4
votes
3answers
117 views

Positioning a node with respect to a group of nodes

I have a set of nodes that is generated by a macro, and I would like to position a node with respect to the north, west, south of this set of nodes. In my example I would for instance like to position ...
2
votes
1answer
74 views

Improve flow chart template with rectangle split

I'm try to build a flow chart template: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts,amssymb,graphicx} \usepackage[left=2.00cm, right=2.00cm, ...
2
votes
2answers
77 views

Tikzmark between syntactic tree and matrix?

I am trying to draw a line between the S node and the matrix, but have not been able to get it to work. What am I doing wrong? MWE: \documentclass[a4paper,12pt]{article} \usepackage{fontspec,tikz, ...
5
votes
1answer
49 views

How can I label forest nodes automatically, adding labels as prefixes to nodes' content exactly once?

I was trying to figure out how you might get forest to label the nodes in a diagram such as the one featured in this question automatically. So, the idea is that: level 0: content of node should be ...
3
votes
2answers
141 views

Tikz \draw as part of style (Drawing something inside each node of certain type)

I'm currently learning how to use Tikz and was looking into drawing automata (specifically Simulink-like state models). Currently, I'm making a style that should reduce my efforts to a minimum when ...
4
votes
2answers
81 views

Adjust node level using phantom node

Consider the MWE: \documentclass[landscape]{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \tikzset{ treenode/.style = {align=center, inner sep=2pt, rounded corners = ...
1
vote
2answers
92 views

Tikz obtain node coordinates

In tikzpicture, how do I get a single coordinate of a node? This is the circuit I'm making, and I need to know the x coordinate of the node (opamp.out) so that i can make R2 vertically aligned with ...
5
votes
2answers
140 views

Label above node in TikZ

I wish to add a label above a node that already contains a label. \begin{tikzpicture}[scale=0.8,every node/.style={draw=black,circle}] \node (a) at (0,0) {a}; \node (b) at (2,0) {b}; ...
4
votes
2answers
143 views

Draw matrix with specific style in TikZ

I'm wondering how could I draw a matrix like that: I know how to draw a simple matrix: \documentclass[journal]{IEEEtran} \usepackage[pdftex]{graphicx} \usepackage{tikz} \usetikzlibrary{matrix, ...
4
votes
2answers
108 views

Two-lined brace in tikz node

I want to produce a timeline in the tikzpicture environment that looks like this: But my code, gives me the following: So I need the brace around both lines of my node! My code now looks as ...
2
votes
1answer
64 views

Textbox Nodes Won't Appear In Diagram

I am trying to create a simple venn diagram with the labels a,b,c with a U in the right hand corner of the box like this picture: I have created the venn diagram the way I wanted to, but I can't ...
2
votes
1answer
105 views

How can I put a minipage that fits to the actual line width inside of a TikZ Node?

Question I would like to put a minipage environment inside of a tikz node. I know this is done already with the align=left command, but if you set a minimum width of the node to \linewidth, then the ...
5
votes
1answer
139 views

How can I draw a relation with rectangular nodes?

I am trying to use nodes to draw a simple relation in two figures. Basically what I want looks like this: How can I do that using tikz? The two relationships should be next to each other. I think if ...
4
votes
2answers
130 views

How can I add more coordinates to standard TikZ shapes?

Question I would like to know how to add an arbitrary number of coordinates to the default shapes of TikZ—particularly to the side of a polygon. Sample This is similar to ...
2
votes
2answers
80 views

How to change the size of the name of a node, in a tikzpicture

This is my code, in this code, the names of the nodes appeared very small, How could I modified this size? \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} ...
7
votes
4answers
258 views

With TikZ is it possible to pass the node content through a preprocessor?

I've written a macro that scans its content for illegal characters and then changes them to something more appropriate. In the following example, the macro scans for _ and replaces them with ...
1
vote
0answers
39 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 ...
3
votes
1answer
113 views

Thought bubble in latex

I wish to draw illustration nodes with text box as shown, But my latex is poor. Any startups?
5
votes
1answer
86 views

tikz-qtree does not work with node

I am trying to create a tree using the tikz-qtree package. But I keep getting the following error. ! Paragraph ended before \@@@@litlabel was complete. Here is my tex-file: \documentclass[a4paper, ...
2
votes
3answers
169 views

Strange graph in tikz

I want to make a strange graph in tikz. This graph has some nodes inside the nodes... like this figure: I tried this: \newcommand{\twonodes}[2]{% \begin{tikzpicture}[node distance=0.7cm] ...
1
vote
1answer
76 views

Tikz nodes with `fit=(top)(bottom)` slightly missized

I like to create textboxes via TikZ. I start with that flexible example. And, Yes :) I do create texboxes. Here it is. But I still have two problems.. Q1 I use fit to create light gray ...
3
votes
2answers
70 views

boundary around nodes corresponding to euler walk

How can one automatically draw the red line corresponding to euler walk in tikz. I tried using beizer curve, and a lot of other methods, but had to finally set coordinates manually to get somewhat ...