Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tikz-graphdrawing]

The tag has no usage guidance.

8
votes
3answers
369 views

Drawing an isosceles trapezoid with perpendicular diagonals

I need to draw an isosceles trapezoid with perpendicular diagonals, but I am not sure where to start. Here is my code for a square with perpendicular diagonals (if it is even helpful). \begin{...
0
votes
1answer
64 views

sign scheme diagram in latex

I tried to draw a following diagram using tikz. I used the following commands \draw [black, very thick] (0,0) -- (9,0); \draw [black, very thick] (3,1/4) -- (3, -1/4); \draw [black, very thick] (6,...
3
votes
0answers
72 views

Wrong direction of vertices in tikz-feynman remains under macOS, using PGF 3.1 and luatex 1.07 [duplicate]

This question is originally from the discussion under github issue CTeX-org/forum#4. The similar problems raised by questions Fresh install of TL2018: no tikz graph drawing libraries found, and ...
1
vote
1answer
54 views

Complicated curves intertwined in the link figures (II)

This is a more advanced question following an earlier one. I am struggled to draw these types of figures: There is a package called the knot library. So I am going to try the knot library out. But ...
3
votes
1answer
65 views

surface of revolution in Tikz 3D

I'm trying to make a nice picture from a simple surface of revolution. Here my text: \documentclass[a4paper,11pt]{article} \usepackage{ifthen} \usepackage{tikz, tkz-euclide} \usepackage{tikz-3dplot} \...
0
votes
1answer
67 views

Drawing similar picture with tikz

Is it possible to make something like this in tikz? How to? :) f(t) can be literally any curve, this arrow pointing it is just a comment, not a part of a drawing
2
votes
2answers
68 views

A diagram with matrices

I want to draw the following diagram which contains two matrices (2x2 on left and 4x4 on right) and a box. Could someone help?
5
votes
1answer
57 views

Drawing a polygon

How to use the tikz package to achieve the following. I looked at but still couldn't get it done. Any help is much appreciated.
1
vote
1answer
36 views

How to cover certain area of included pdf pages with white rectangle?

I have a bunch of handwritten notes that I'd like to integrate with my other notes typesetted with latex. And to give the integrated notes a clear structure, I am wishing to typeset the section ...
1
vote
1answer
31 views

How to add a vertex vertically in this template (or with tkz-graph )

Please help me draw a graph like this(see hand-drawing pic) in Latex ? I have found a template which has clean Latex in it. I am trying to add some vertices vertically without any success, Here is ...
7
votes
1answer
541 views

Fresh install of TL2018: no tikz graph drawing libraries found

On a fresh install of TL 2018, on Linux, no tikz graph drawing libraries can be found. The files, e.g. texlive/2018/texmf-dist/tex/generic/pgf/graphdrawing/tex/pgflibrarygraphdrawing.trees.code.tex ...
2
votes
1answer
27 views

How to scale brackets in Tikz

I am trying to draw a line with a closed interval indicated by square brackets super imposed on top of it. Here is my current code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
0
votes
1answer
48 views

Draw a graph using graphdrawing and sublayouts, wherein nodes are properly aligned among each other

I have the following code producing a graph with the graphdrawing algorithms of tikz and sublayouts to properly set my nodes. \RequirePackage{luatex85} \documentclass{standalone} \usepackage{tikz} \...
4
votes
1answer
44 views

Adding a background to tikz layered graph with sublayouts

I have the following code sample with sublayouts to properly set the nodes within my graph. The problem is that I can't seem to find a way to add a background node fitting all the inner nodes. \...
0
votes
1answer
63 views

How can I write the linear scheme in the signal processing system tool?

Hello Tex friends I am trying to draw the linear scheme for the signal processing tool. I am testing the Signal processing library. However, I can not get the figure like that. This library: http://...
0
votes
1answer
38 views

How can I fix weird font behavior in IEEEtran when using TikZ graphdrawing library?

I have the following MWE: \documentclass{IEEEtran} \usepackage{tikz} \usetikzlibrary{graphdrawing} % needs luatex! \usepackage{lipsum} \begin{document} \title{Title} \author{Author} \maketitle \...
0
votes
4answers
171 views

drawing relationships between mathematical sets in latex

I have the sets products (p), subgroups (S), groups (G) and categories (C). Each product belongs to a subgroup. Each subgroup belongs to a group. Each group belongs to a category. The image below ...
5
votes
1answer
131 views

Tikz, graphdrawing: How to use \foreach variables to set edge node labels?

I wanna create and label edges using a \foreach loop to avoid having to write every single node/edge when creating large graphs. It works fine when I use it to create nodes, but when I try to label ...
2
votes
3answers
139 views

How do I get this scope on top of my other lines?

Yo \begin{tikzpicture} \draw (0,0) -- (0,3cm); \draw (0.5cm,0) -- (0.5cm,3cm); \draw (3cm,0) -- (3cm,3cm); \draw (3.5cm,0) -- (3.5cm,3cm); \draw (0,0) arc (0:180:-1.75cm); \draw (0.5cm,0) arc (0:...
1
vote
1answer
93 views

Drawing a Cylinder on a plane using tikz

I would like to draw a tilted cylinder on the plane \alpha. Can I draw this using latex tikz?
1
vote
1answer
80 views

How to plot the 5th roots of a complex number [duplicate]

I want to draw the roots of z^5=1-i. I am totally novice to latex and really have no idea about drawing. Thanks for helping!
5
votes
5answers
879 views

How to a draw branch of a backpropagation neural network?

I need exactly this diagram drawn in LaTeX but frankly, I have absolutely no idea how to do it. I would greatly appreciate if anyone can draw it out in latex for me or could point me to a tool where I ...
3
votes
3answers
187 views

The Tikz Code of a Digraph

I have the following adjacency matrix: $ A= \left[ \begin {array}{cccccccc} 1&1&0&0&0&0&0&0\\ 0&0&1&0&0&0&0&0\\ 0&0&1&1&0&...
2
votes
0answers
51 views

How to add options to a graph from within a Lua layout algorithm

I'm working on a graph layout algorithm for use with the graphdrawing library in TikZ, and part of what I'd like to do is use the length of an edge label in calculating edge lengths. If the label is ...
1
vote
3answers
709 views

drawing circles and squares with TikZ

I am trying to recreate the following sketch using tikz. I found this example to draw circle but combining it with a grid to generate the following picture is a bit difficult. How can I generate ...
8
votes
2answers
267 views

Division of curved edges in tikz

I need to divide an edge into a number of equal parts. I have the following way to do this for straight edges: \begin{tikzpicture} [very thick, transform shape, scale=.2, rect/....
3
votes
2answers
122 views

area between triangle minus circle

\documentclass[border=3mm,tikz]{standalone} \usepackage{pgfplots} \usepackage{epstopdf} \usepackage{pgf,tikz,tkz-euclide} \usetikzlibrary{calc,patterns,angles,quotes,arrows} \usetikzlibrary{...
0
votes
1answer
85 views

Draw a graph with vertex pairs

I want to draw in LaTex a Petersen Graph using Kneser graph K(2,5) notation. And i'll do the same with the hypercube. Like this exemple: How can i do it please ?
2
votes
1answer
46 views

How can I set bend right=0 for all edges in a tikz graph?

Consider following graph %! TEX program = lualatex \documentclass{article} \usepackage{tikz} \usepackage[graphics, active, tightpage]{preview} \PreviewEnvironment{tikzpicture} \usetikzlibrary{graphs,...
1
vote
2answers
192 views

Graph with parallel multi-edges with designated anchor points

Consider following graph created with the GUI tool LaTeXDraw: I want to create a similar graph with tikz. This is how far I got: %! TEX program = lualatex \documentclass{article} \usepackage{tikz} \...
2
votes
1answer
79 views

How to draw the following FSA?

I tried to draw the following FSA to the best of my abilities, but still certain edges are not showing well (because they are not curvy) and state 1 is not aligned with the rest. Is it possible to: ...
0
votes
2answers
136 views

Custom drawing in the middle of the line

I am making a diagram on TikZ. It requires to have a custom drawing in the middle of the connecting lines, that also must be annotated late. In the middle of the line I need to have a circle from one ...
2
votes
2answers
186 views

TikZ/CircuiTikZ Power Splitter symbol

I would like to draw a Power Splitter symbol for CircuiTikZ like the one here below but I don't really know where to start. Maybe such a symbol (even not with the "circles" at the input/output) alredy ...
2
votes
1answer
57 views

How do I use a drawn arc as border?

The question is writen in the title, i got the grey filled part and it has to fit on the arc. I did it manualy but supose there is a better solution i can't figure out. Thank you in advance, Leo. \...
1
vote
1answer
74 views

Plot an image with Tikz

I'm pretty much a neophyte in Latex and especially in Tikz.I need to get a plot, with tikz package, like this image image.
0
votes
0answers
69 views

Commutative Diagrams can be inserted?

I need to draw commutative diagrams in my bachelor thesis. I found How can I draw commutative diagrams in LaTeX? but I can't install that packages. I am using Texmaker. It's there other methods, to ...
-3
votes
1answer
81 views

how to draw the following picture quickly and curly brace?

I know that this picture contains only line but I want to ask how to draw it quickly with tikzpicture? Moreover, how I can draw the curly brace (}) in the figure? Many thanks for your help!
2
votes
1answer
105 views

Help in recreating a graph in tikz

Can someone help me in recreating the following diagram using TikZ. EDIT:: I draw it using the following code. However, I have the following issues: 1) drawing the dots between container 3 and ...
3
votes
2answers
282 views

Is there a way to automatically draw curved edges using tikz's algorithmic graph drawing?

I can easily draw automatically-laid out trees in tikz, but with straight edges between nodes. I'd like for edges to be automatically curved similar to this tree drawing software: https://mindnode.com....
4
votes
1answer
299 views

Creating interactive scheme in LaTex

We want to create a scheme and it should be: horizontal multi-level easily editable it must be the connecting line (but no cross-links) grouping of nodes (the block may contain more than 10 lines ) ...
1
vote
0answers
66 views

Graph Drawing with Tikz example error [duplicate]

I have trouble making the Graph Drawing example on page 363 in the TikZ & PGF Manual work. To this end, I've read the question asked ealier, errors - Layered Graph From TikZ Manual #291718 but ...
3
votes
2answers
170 views

tikz-graph last level of tree circled only

How can I have only the last level (leaves) of the tree circled (not everyone)? \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{graphdrawing} \usetikzlibrary{graphs} \usegdlibrary{...
0
votes
1answer
282 views

Self-loop with tikz-graphdrawing library

Self-loop can be drawn on a node; there are plenty of examples in documentation e.g. tikz: self loop with two arrows at the end (i.e. ending by ->>). I can achieve it via graphviz easily. I ...
1
vote
0answers
198 views

Drawing knot on Latex [duplicate]

I want to draw some knots for my master's dissertation, but I dont want to do that by including pictures of them. Can I do this on latex? If this is possible how? If not, are there any apps which can ...
2
votes
1answer
93 views

Arrows within text

I was wondering how to add some arrows inside the text, like in the following picture: I know that there's tikz, but I do not know how to insert this specific kind of arrows. If you could point me ...
1
vote
1answer
196 views

Cryptocode package question, protocol with 4 players

I am using cryptocode package to make a protocol of 4 players. \fbox{ \procedure{name}{% \textbf{Alice} \< \textbf{Verisign} \< \textbf{Eve} \< \textbf{Bob} \\ \sendmessageright{top=\...
11
votes
2answers
400 views

TikZ Make a graphical balance for equations

I'd like to be able to draw a white = inside of the triangle, be able to rotate the balance and the equation and place the equations symmetrical yet not to close to the edge. It's quite hard for me. \...
0
votes
1answer
221 views

TikZ, cannot find graphdrawing library

I am on Mac Os 10.11.6, my TexLive distribution is the one of 2016. I would like to draw this graph and I need to use graphdrawing library from tikz, but I am not able to do this because I receive ...
0
votes
1answer
159 views

Help with these graphics in tikz

I need draw these graphs in tikz, but i not have idea by begin :( The graphs are: Variation of ionization cross-sections (left) Townsend first ionization coefficient (right) Help pls... Ty :D
6
votes
2answers
991 views

Drawing Directed Graph in TIKZ with labelled edges and no intersections

I am drawing a digraph to represent a matrix. \begin{figure} \begin{tikzpicture}[roundnode/.style={circle, draw=black!60, fill=black!5, very thick, minimum size=7mm}] %Nodes \node[roundnode] (...