Questions tagged [tkz-berge]
{tkz-berge} is a package containing macros for drawing graphs of graph theory.
17
questions
2
votes
1
answer
67
views
Undefined control sequence \thetkz
I'm using pdfLaTeX in MikTeX 2.9. I'm trying to create the hypercube in NamedGraphs.pdf (See https://tex.stackexchange.com/a/129972/200958):
\documentclass{beamer}
\usepackage{tkz-berge}
\begin{...
9
votes
0
answers
834
views
TeXLive 2020: How to deal with tikz-berge and tikz-kiviat packages that were removed from CTAN
The MWE below works fine with TeXLive 2019 and produces:
But with TexLive 2020 version (MacTeX) I get
! LaTeX Error: File `tikz-berge.sty` not found
! LaTeX Error: File `tikz-kiviat` not found
It ...
1
vote
1
answer
173
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}
\...
1
vote
1
answer
115
views
Star graph x- and y-coordinate problem
I can put multiple \grCompletes in a tikzpicture, and space them out nicely. But when I try to do the same thing with \grStar, it doesn't work. What am I doing wrong? Here's a minimal example.
\...
0
votes
1
answer
125
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={...
0
votes
1
answer
103
views
Reset vertex name counter in tkz-berge
I have a following graph constructed with tkz-berge library. In the current settings the nodes/vertices are numbered automatically started with index 0. I wonder how to reset the counter in order to ...
0
votes
1
answer
106
views
Tkz-berge sizes
How to change width of all edges and sizes of all vertices. I can not do it smaller.
\documentclass[11pt,b5paper,openany]{book}
\usepackage{tkz-berge}
\begin{document}
\begin{figure}
\centering
...
1
vote
1
answer
226
views
Incompatabilty with Mod if use pgfplots and tkz-berge (Petersen Graph) [closed]
The MWE below works fine as is, but fails with the following error message if the pgfplots package is uncommented.
Package PGF Math Error: Sorry, the operation 'Mod' has not yet
been implemented ...
4
votes
1
answer
530
views
Don't draw arrow with \Loop command
I'm using tkz-berge with latex:
\usepackage{tkz-berge}
\tikzset{LabelStyle/.style= {fill=white}}
And have this graph-drawing code:
\begin{tikzpicture}
\SetVertexMath
\Vertex[x=0, y=2, L=v_1 ...
3
votes
1
answer
757
views
tkz-graph vs tkz-berge
What is the difference between the two packages ? Did they have a different use? I know they have been made from the same author.
The description of tkz-berge says that it provides a collection of ...
1
vote
1
answer
60
views
Bending arrows in tkz in certain direction
I have the following code which gives the attached picture.
\documentclass[border=4mm]{standalone}
\usepackage{tkz-berge}
\begin{document}
\begin{tikzpicture}
[->, >=stealth', auto, ...
1
vote
1
answer
193
views
Text outside vertex tkz-berge
I have just started working with the tkz-berge package, I am trying to draw a network flow problem, I have this so far:
\documentclass[a4paper,oneside,article]{memoir}
\usepackage{tikz}
\...
1
vote
1
answer
452
views
Label only selected vertices with tkz-berge
I drew the following graph with tkz-berge, but only want vertices "v" and "u" to show up, how can I do this?
I've tried with \AssignVertexLabel but I seem to lack understanding of how to use it.
\...
1
vote
1
answer
616
views
Creating a grid with different color vertices (graph)
I am new to using tikz and I have never used ifthenelse statements in latex before, but I am trying to create a grid where the vertices on every other diagonal are a different color and shape. This is ...
0
votes
0
answers
62
views
Vertical empty path is not vertical with package tkz-berge
According to the manual, \grEmptyPath with form=2 should draw a vertical path. However, it seems that the path is just moved to the left some distance. Is this an error in tkz-berge, or am I doing ...
2
votes
1
answer
195
views
Tkz-berge graphs, equal arrows with unequal subfigures?
In the following MWE (alas, it is not small):
\documentclass{article}
\usepackage{tkz-berge}
\textwidth16cm
\begin{document}
\begin{tikzpicture}
\tikzset{VertexStyle/.style = {
shape = circle,
...
1
vote
1
answer
764
views
How to draw planar representations of platonic graphs using named graphs of `tkz-berge`
I want to draw planar representations of the 5 platonic graphs. Package tkz-berge has commands to draw such graphs. I managed to obtaint the planar representations of all but the dodecahedral (using ...