The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [tkz-graph]

Package to easily create graph diagrams.

13 questions
Filter by
Sorted by
Tagged with
7k views

### Multi-rooted Tree-like Structures and Nodes with Multiple Parents in LaTeX

The qtree package seems to facilitate the drawing of simple trees only. Is there a way to incorporate: Multiple roots & Nodes with multiple parents in a tree in LaTeX?
2k views

### TikZ-pgf directed graph: change arrow color and location

I have something like this: \SetVertexNormal[Shape = circle, LineWidth = 2pt] \SetUpEdge[lw = 1.5pt, color = blue] ... \begin{tikzpicture} \Vertex[x=0 ,y=0]{1} \...
3k views

### How do you make a tkz graph with edges starting and ending at the same vertex?

I am trying to use the tkz-graph package to put together a directed graph. I have never used it before, so I am trying to piece together examples I have found on the internet. Below is the code that I ...
3k views

### How can I increase arrow-head size in tkz-graph?

How can I increase the size of the head of the arrows in a tkz-graph graph? This question is similar to Is it possible to change the size of an arrowhead in TikZ/PGF?, but requires an adaptation of ...
1k views

### Labeling Edges in a Weighted Digraph

I would like to have the labels of the edges of a weighted digraph positioned "beside" (north, south, east, west, etc.) the arrows. I have already created the digraph with: \documentclass{article} \...
6k views

### tkz-graph: changing individual vertex type

I'm using these settings for most vertices: \GraphInit[vstyle=Classic] \tikzset{VertexStyle/.append style = {minimum size = 5pt, inner sep = 0pt}} But I'd like to have one or two vertices of my ...
4k views

### Petersen graph with new tikz graph library

I'm considering moving from tkz-berge to the new tikz graph library for drawing my graphs (in the sense of graph theory). I have produced the Petersen graph, but is there is a more elegant way of ...
871 views

### How to use tkz-graph and tikz-qtree without conflict?

It seems that the tikz-qtree and tkz-graph packages both define (or redefine) the \edge macro... I'd like to use both, but it doesn't seem possible: \documentclass{article} \usepackage{tikz} \...
13k views

### Showing weights on Tikz graph using “draw edge” commands

I would like to show some numbers as weights of the edges of my Tikz graph. My graph without weights is the following: \begin{figure}[!ht] \begin{tikzpicture}[shorten >=1pt, auto, node distance=...
99 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.
500 views

### How to reuse vertex names using the tkz-berge graph drawing package?

I'm trying to draw a graph using tkz-berge, where many of the vertices might display the same value, is there a way I can do this? Here is my code: \begin{figure}[h] \centering \begin{tikzpicture}[...