Questions tagged [tkz-graph]

Package to easily create graph diagrams.

Filter by
Sorted by
Tagged with
1 vote
1 answer
64 views

How to draw a self loop and parallel edges with tkz-graph

How to draw a self loop at v_3 and parallel edge between v_4 and v_3 with \usepackage{tkz-graph} (If tkz-graph is not the best for plotting graphs, please mention the best way for plotting graphs) ...
user1942348's user avatar
  • 1,093
1 vote
1 answer
44 views

Both internal and external vertex labels in the package tkz-graph?

I'm drawing graphs in which I want to label vertices (e.g. x, y, z, w, etc), but also attach the value of a function calculated at each vertex (e.g. 4, -3, 2, 7 corresponding to vertices x, y, z, w ...
Sharanjit's user avatar
0 votes
0 answers
29 views

Compact database schema representation in latex

I am trying to create a compact database schema similar to the one presented Here and here is a screenshot for that : I am on two column setting too and I looked at this post but it is not as compact ...
Moh's user avatar
  • 35
0 votes
0 answers
12 views

Different Behaviors of Dimensions of a Graphics Object and Pic

I am trying to create a plot with tikz (using PlotNeuralNet), and I would like to make an included image of the same dimension for the height of the cube (a representation of convolutional layers) I ...
sr__'s user avatar
  • 1
0 votes
2 answers
266 views

Help to draw graphs in tkz-graph package

I would like to draw the following graphs in tkz-graph package. These are the unit-distance colored Golomb graph and Moser spindle respectively. when i try using the regular polygon operation it ...
xousious's user avatar
0 votes
1 answer
41 views

Combining environments in 2 packages (tkz-graph and tikzducks)? [duplicate]

I made a graph using the tkz-graph package and want to use the tikzducks package to make vertices of the graph. (In particular, I want to replace the points at vertices of an arbitrary graph with ...
xousious's user avatar
0 votes
1 answer
56 views

tkiz matrix bigger arrow heads

I am wondering if is it possible to increase the size of the arrowheads. it's not visible when it's printed. % arara: pdflatex % !arara: indent: {overwrite: yes} \documentclass[a4paper,10pt]{article} ...
Node.JS's user avatar
  • 685
0 votes
1 answer
64 views

Adding legends and info to datavisualization tkiz

I would like to add some information to this graph and I am failing. More specifically, I want the X axis to have the label "nodes" and the Y axis to be seconds I also want the first data ...
Node.JS's user avatar
  • 685
2 votes
1 answer
43 views

tkz-graph: Edge's beginning doesn't connect to vertex

In this example, the edges don't connect to the vertex it comes from. I'm using tkz-graph, and use \tikzstyle{EdgeStyle}=[pos] to give an arrow head to the edges. I modified the value of \...
Kazh's user avatar
  • 124
-2 votes
1 answer
73 views

TikZ: draw a dependency graph of attribute grammars

This is a follow-up to this previous question. I made some progress but it's not finished. I build upon this answer What I currently have: What I want it to be: are these two lines parallel to each ...
Node.JS's user avatar
  • 685
0 votes
1 answer
65 views

Tkiz: draw a dependency graph of attribute grammars

I am trying to draw this and I am not sure if it's doable in Tkiz because it's so complicated and I am failing. The idea of this graph is the triangle at the top is the beginning of at least one "...
Node.JS's user avatar
  • 685
1 vote
2 answers
104 views

A weird problem about the intersection of two lines with tkz-euclide

I was implementing the following codes (based on tkz-euclide) to generate a figure. The weird thing happens when I define and plot the point E. E is (defined as) the intersection of line AB and line ...
OnoL's user avatar
  • 235
4 votes
2 answers
192 views

Particle paths in standing waves

I would like to draw a graph for computed particle paths under a standing wave and the path equation is sin(kx)sinh[k(z+h)]=C, for C a constant. This is what I tried and I failed. \begin{figure}[H] ...
Alessandro Lin's user avatar
3 votes
1 answer
120 views

How can I add clusters over grid nodes in this figure?

Consider the following code: \documentclass{article} \usepackage{tkz-graph} \begin{document} \begin{figure} \centering \begin{tikzpicture} \SetGraphUnit{2} \Vertex[x=0,y=0]{1} \Vertex[x=2,y=0]{2}...
SPARSE's user avatar
  • 298
1 vote
1 answer
62 views

How to Generate Perpendicular Bisectors in Graphs Using Tkz-Graph

I am trying to demonstrate a geometric way to determine the symmetries of a graph generated using tkz-graph. I was able to use a not-so-elegant way to get one of the perpendicular bisectors. How may I ...
DJJerome's user avatar
  • 4,056
4 votes
1 answer
137 views

How to Automatically Label Vertices Using tkz-graph

Problem Description I am trying to created a labeled digraph using the tkz-graph package, such that the vertices are "automatically" labeled $v_1$, $v_2$, etc., starting with $v_1$ at the &...
DJJerome's user avatar
  • 4,056
0 votes
1 answer
81 views

Complicated vertex labels with tkz-graph

This is a follow-up to On drawing a crystal graph, I have a trouble: ! Illegal parameter number in definition of \cmdGR@vertex@L: I would like to use tkz-graph and label a vertex with something a ...
John Palmieri's user avatar
1 vote
1 answer
394 views

change font size of label of vertex in tkz-graph?

I am currently writing a tex-file in which I also need to create a graph and label the vertices. I am using the package tkz-graph. \documentclass{article} \usepackage{tikz} \usepackage{tkz-graph} \...
amhineoni's user avatar
2 votes
1 answer
328 views

How to draw this DAG dependency graph in Latex

I am wondering how to draw something like this in Latex. Notice the edges are not straight lines as I see in many Tkz examples. This is an example of attribute grammar where edges indicate the flow of ...
Node.JS's user avatar
  • 685
0 votes
1 answer
109 views

Latex drawing of the following screen shot

Can anyone help with the drawing of this pic in latex? I have included what I have done: \documentclass[12pt]{article} \setlength{\topmargin}{-1cm} \setlength{\oddsidemargin}{0in} \setlength{\...
user242827's user avatar
0 votes
3 answers
172 views

How can I get two graphs side by side instead of one on top of the other?

How could I get these two graphs side by side? \begin{tikzpicture} [->,scale=0.6,auto=center,every node/.style={circle,fill=blue!20}] \node [label=left:t] (a1) at (1,7) {$\infty$}; \...
Marcos Gonzalez's user avatar
5 votes
2 answers
175 views

How do I make this figure?

The target figure: Left me to fill the regions. Can somebody help me? My LaTeX code: \documentclass[border=5mm]{standalone} \usepackage[svgnames,x11names,dvispnames]{xcolor} \usepackage{tkz-base,...
Maikel Andril's user avatar
0 votes
1 answer
84 views

Drawing a table with arrows crossing each other in LaTeX

Can one help me to create the following table in LaTeX. Thank you!
iGada's user avatar
  • 105
0 votes
1 answer
372 views

How do I make Hanoi graphs using TikZ?

I have a feeling that it is possible to do using tkz-graph, but I don't know how it works. I tried searching for high-resolution images in Google, and no such image showed up. I need to make the graph ...
kevs924's user avatar
2 votes
1 answer
192 views

How to make curved arrows

I am a math teacher and I still have a hard time getting started with Latex, but I would like to know if someone could help me on how to generate the following example. Researching on the internet I ...
OscarR's user avatar
  • 35
2 votes
1 answer
118 views

Nicer curved lines

Is there a way to make a nicer curved line in the image below, linking two nodes of different graphs? Here is the code I am using : \documentclass{scrartcl} \usepackage{amsmath,amsthm,amssymb,...
Sephya's user avatar
  • 463
0 votes
1 answer
76 views

How to adjust my code so it replicates this image?

\documentclass{standalone} \usepackage{tkz-graph} \usetikzlibrary{arrows.meta} \tikzset{>={Latex[width=3mm,length=3mm]}} \begin{document} \begin{tikzpicture} \GraphInit[vstyle=Dijkstra] ...
SomeT's user avatar
  • 337
1 vote
1 answer
311 views

Adding an arbitrary edge to a graph in tkz-berge

I would like to be able to add an arbitrary edge to one of the graphs in tkz-berge. For example, in the graph below I want to add an edge between v0 and v4. \documentclass[a4paper]{article} \...
mhwombat's user avatar
  • 467
0 votes
1 answer
258 views

How to put the arrows of an edge at the center in tkz-graph?

How can I put the arrows at the middle of the in this graph? \documentclass{standalone} \usepackage{tikz,tkz-graph,tkz-berge} \usetikzlibrary{positioning,fit,patterns} \tikzset{->-/.style={...
Maryà's user avatar
  • 4,830
2 votes
0 answers
188 views

Adjust tkzKiviatDiagram Diagram axis label size

I am trying to display several Kivat diagrams on a single A4 page. For that reason, I have embedded them in subfigures under one figure. This is why I have rescaled the Kivat diagram to fit in one ...
user1680944's user avatar
2 votes
1 answer
80 views

Why the arrows of two edges are not appearing in tkz-graph

I am creating a figure using tkz-graph. But there are two arrows of the edges are missing. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amssymb, amsthm} \usepackage{tkz-...
user1101010's user avatar
0 votes
1 answer
317 views

How to make certain nodes have no circle around it using tkz-graph?

I'm trying to draw a simple hierarchical structure using tkz-graph: \begin{tikzpicture} \Vertex[Math, L=\pi, x=0, y=4.5]{pi} \Vertex[Math, L=\pi^{\frac{1}{32}}, x=-4.5, y=0]{pi_32_1} \Vertex[Math, L=\...
user-2147482565's user avatar
3 votes
3 answers
817 views

How to create a vertex at the intersection of two edges with tkz-graph?

I want to draw But I don't know how to create v_6 which is the intersection of \Edge(v_3)(v_5) & \Edge(v_1)(v_4) and v_7 is the intersection of \Edge(v_3)(v_5) & \Edge(v_2)(v_4). Here the ...
Maryà's user avatar
  • 4,830
1 vote
1 answer
378 views

Adding two nodes in tikz besides each other?

I am new to tkiz, I need to generate a figure like in the attached a picture. Here is the Wml code for generating the left side of figure. How to add the right part with the arrow shown.?? \...
Heba Mohsen's user avatar
4 votes
3 answers
785 views

Tkz-graph and foreach

I want to draw the following graph by using the usepackage tkz-graph and the command foreach or by any other method: \documentclass{article} \usepackage{amssymb,amsmath} \usepackage{xcolor} \...
user105476's user avatar
7 votes
4 answers
978 views

Recreating Peterson graph with tkz graph?

I was trying to recreate Here is my MWE \documentclass{standalone} \usepackage{tkz-graph} \usepackage{tkz-berge} \definecolor{iceberg}{rgb}{0.44, 0.65, 0.82} \tikzstyle{VertexStyle} = [shape = ...
Maryà's user avatar
  • 4,830
4 votes
1 answer
225 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.
Eureka's user avatar
  • 1,013
2 votes
1 answer
934 views

Multiple labels for a vertex using tkz-graph

I am trying to create figures that illustrate how binary trees may be represented using array indices. Therefore I would like each node in my tree to have two labels: One inside the note, representing ...
Erik André's user avatar
5 votes
2 answers
630 views

Drawing a TikZ Graph

I'd like to try and include this graph in a Beamer presented, and would like to draw it using TikZ instead of including a PDF (for a number of reasons). I honestly have no idea how to get started and ...
Gregory Gelfond's user avatar
0 votes
2 answers
349 views

RDF graph draw using TikZ

When I use the following code to draw an RDF graph: \begin{tikzpicture}[node distance=2.75cm,>=stealth'] \node[vertex style=Turquoise] (Rk) {Righteous Kill}; \node[vertex style=BurntOrange, above ...
user2869180's user avatar
3 votes
1 answer
147 views

How to draw the Errera's graph

someone could you give me an example to draw this graph? My difficulty is set lengths in each vertex, I use tkz-graph Uncompleted example \documentclass[tikz]{standalone} \usepackage{tkz-graph} \...
Oromion's user avatar
  • 384
2 votes
1 answer
583 views

How to reduce the size of the vertices in `tkz-graph`?

How to reduce the size of the Vertex in the following tkz-graph?? MWE: \documentclass[]{standalone} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture} \GraphInit[vstyle=Classic] % \Vertex[...
David's user avatar
  • 1,964
3 votes
1 answer
2k views

Position of edge labels in \Edge[label=e] in tikz

Here is a simple code I have, which enough of an example of what I'm looking for. I am using the \Edge command with label, as this labels directly on the edge, which is what I am looking for. What I ...
Johan's user avatar
  • 121
2 votes
1 answer
467 views

How do I move label on loop to above the loop in a Tikz picture

I have the following standalone class file to create a figure for a journal paper: \documentclass[12pt,A4paper]{standalone} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{...
Bruce Crawford's user avatar
4 votes
1 answer
270 views

Incompatibility between \usetikzlibrary{babel} and the tkz-graph \Edge macro

Continuing on from my question posted yesterday, I struck a similar problem with the \Edge macro of tkz-graph when attempting to define text labels - with \usetikzlibrary{babel} loaded compile ERROR !...
Reinhard Neuwirth's user avatar
5 votes
0 answers
144 views

Moving loops in tkz-graph

I'm trying to modify the graphiso.sty package to show morphisms between directed graphs. This meant it should allow to show edges with arrows, I could do that. The thing is I now want to include ...
Julio Cáceres's user avatar
2 votes
1 answer
142 views

Self-loops in graphs change their shapes when the picture is rotated

I am using tkz-graph for drawing graphs. Self-loops change their shapes when the picture is rotated. Is this normal? Since I could probably redesign the rotated graph from the beginning, I am more ...
ASdeL's user avatar
  • 4,925
5 votes
1 answer
329 views

Drawing particular curves

I need to recreate the curves in the first graph in Latex. What's the best way? \begin{document} \usepackage{tikz} \usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,} \begin{center} \...
student509's user avatar
0 votes
2 answers
357 views

Problem in labeled vertices with tkz-graph and beamer

Please the below code work perfectly in article latex class, but when i try to put it in IAStheme of beamer the labels are strange. The code \documentclass[11pt]{beamer} \usepackage[english,...
HTeX's user avatar
  • 77
4 votes
1 answer
780 views

Something wrong to use ifthenelse and mod function in tikz

I get errors for this latex code, please someone can help me \documentclass{article} \usepackage{tikz} \usepackage{tkz-graph} \usetikzlibrary{graphs,graphs.standard,arrows.meta} \begin{document} \...
HTeX's user avatar
  • 77