Questions tagged [tikz-graphdrawing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
4answers
298 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
589 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
157 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:180:-...
1
vote
1answer
306 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
422 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
1k 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
908 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
79 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
2k 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
554 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
174 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
417 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
91 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
477 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
375 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
337 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
396 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
69 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
105 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
82 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
136 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
153 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 ...
5
votes
2answers
628 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
565 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
236 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
366 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{...
1
vote
1answer
544 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
491 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
116 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 ...
2
votes
1answer
770 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
618 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
354 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
185 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
2k 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] (...
1
vote
3answers
1k views

How to draw a graph in LATEX?

I need your help. I try to draw a graph in Tikz but i do not know how to do that. It seems to be like that. . Best regards
1
vote
1answer
190 views

Drawing a flowchart in TikZ, absolute beginner

I would like to create a graph similar to this one: Its original source is here. I am new to LaTeX and, unfortunately, I have no experience with this and that is why I am seeking for any kind of ...
8
votes
3answers
5k views

How to Draw a Bloch Sphere?

Is there any good way of drawing a bloch sphere as shown below? In particular, I am looking for a transparent sphere. I am aware there is a blochsphere package but it is opaque.
4
votes
1answer
4k views

Drawing waves in Tikz

I'm currently transcribing my Chemistry notes into LaTeX (GitHub) and I keep coming across wave drawings which really help with understanding, but which I do not know how to do in LaTeX. I could use ...
4
votes
1answer
626 views

US Patent LaTeX Template Drawing scaling

I found this LaTeX template online on this link https://www.sharelatex.com/templates/other/us-patent However, I could not find any way to add my TikZ diagrams into the drawing section. Also, I am not ...
2
votes
1answer
1k views

Tikz, how to draw concentric circles with radii and something more

I am a beginner with Tikz, I'm reading some tutorials (by the way, if you want to link me some more, I'll be happy about!) and I'm trying to understand how it works. But I need a "kick" for that: I ...
6
votes
2answers
946 views

Nodes overlapping with TikZ graphdrawing library

I'm trying to redesign the below (ugly) picture using LaTeX with tikz and chemfig. I already can draw the chemical molecules that's no problem, I was placing them manually but then I though maybe the ...
11
votes
1answer
3k views

How to draw this graph using the tikz `graphdrawing` library?

I tried many times but failed to draw the graph below using the tikz graphdrawing library. I am quite confused, especially by its "layouts" concepts. Problem: How to draw the graph below using ...
2
votes
1answer
2k views

How to draw flowchart in tikz

I want to draw a flowchart like this : But it did not work out for me especially for arrows. When connecting the arrows between nodes they cross each other. Here is my code: \documentclass[12pt]{...
2
votes
2answers
1k views

Arrow not showing consistently in tikz \draw

I would like to have a figure, where every edge has an arrow. When I \draw edges with tikz, something strange happens: The "same" code yields different results. Code \begin{tikzpicture}[->,>=...
8
votes
1answer
2k views

Algorithmic graph drawing with TikZ & PGF

I'm trying out the algorithmic graph drawing capabilities of TikZ/PGF and initially I was very exited. However, now I am stuck. My example is below. I think the graph would look better if node "J" ...
0
votes
1answer
477 views

Using the package tikz to create a diagram

I have been trying for ages without and prevail to design this diagram. It is my first time trying to use this package. Could someone help me please with this? Thanks :) This is what I have so far: \...
0
votes
1answer
689 views

Arrows to Empty Space

I am trying model a network and is new to tikz. Please let me know how to can I draw node with some outgoing edges to somewhere as given in the image below. Any help is appreciated.
4
votes
1answer
301 views

Implement unique nodes of the same name in Tikz Trees?

I am attempting to make a binary tree representation of a scheme expression. However, I noticed that I cannot repeat the word "cons" as a unique node. The tree will simply tie all subsequent nodes ...
5
votes
2answers
683 views

How to draw boxes around graph nodes by default

I am making some not so simple flow diagrams with the graphdrawing package and I want to draw a box around each node. Is this possible while preserving the simple syntax? If so, how? MWE \...
2
votes
0answers
39 views

tikz problem using \draw … to[out in] and mirroring/rotating [duplicate]

I have a graph in tikz, using \draw ... to[out=...,in=...] for arcs. It seems that mirroring and rotating does not work properly regarding the anchors of the to-node. Is this to be expected, or is it ...