Linked Questions

7
votes
1answer
11k views

How can I draw a DAG? [duplicate]

Possible Duplicate: Typesetting a directed, weighted graph with TikZ I would like to draw a DAG - Directed acyclic graph. How can I do this?
31
votes
1answer
47k views

Change bend angle and swap node position on arrow

I'm trying to draw an automata as follows: \begin{tikzpicture}[>=stealth',shorten >=1pt,auto,node distance=2.8cm] \node[initial,state] (q1) {$1$}; \node[state] (q2) [right of=...
7
votes
4answers
12k views

How do I draw a graph in tikz where the vertices are only represented by the label names?

Right now, what I have is \documentclass[11pt]{article} \usepackage{tikz} \usepackage{tkz-graph} \tikzstyle{vertex}=[circle, draw, inner sep=0pt, minimum size=6pt] \newcommand{\vertex}{\node[vertex]} ...
4
votes
2answers
3k views

How can I draw a tree structure graph?

I already draw the directed graph but it shows some error. MWE: \begin{document} \begin{figure} \begin{tikzpicture}[>=stealth',shorten >=1pt,node distance=3cm,% on grid,...
6
votes
2answers
3k views

Dependency graph with TikZ

I would like to make a TikZ diagram to show the detailed dependency structure of the theorems in my thesis with nodes and subnodes. Ex: Theorem 4 (A) coding theorem (A1) ...
5
votes
1answer
1k views

Referencing a Vertex that has Math Typesetting inside it to make an Edge

I want to create math font inside of my vertex circles, AND draw edges between them. How I typically create network graphs is as follows: \usepackage{tkz-graph} \begin{tikzpicture} \Vertex[x=1,y=6]{...
3
votes
2answers
1k views

Problem with tikz and rotating labels

I am fairly new to LaTeX and especially to tikz. I tried to draw a directed graph which actually turned out the way I wanted it to. I don't know how well written this code is, but it works. Code in ...
7
votes
1answer
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 ...
4
votes
1answer
132 views

Want to draw this commutative diagram

Not a pro in Latex, struggling to draw this commutative diagram. Any help is appreciated.
4
votes
2answers
2k views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I am experiencing some trouble with the \Loop macro. There seem to be some inconsistencies between the \Loop macro and the \Edge macro. For example, in ...
4
votes
1answer
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} \...
3
votes
2answers
786 views

Invisible vertices with tkz-graph

Is it possible to hide the vertices while using package tkz-graph? Firstly I want to show just the edges, and then show the whole graph. However, I need the vertices from the beginning in order to ...
-2
votes
2answers
215 views

Circled number on regular polygon with nodes [duplicate]

Which is the best way in order to reproduce something like that?
2
votes
1answer
68 views

What is the correct way to draw the following diagram

I am trying to draw the following figure using tikz. (Apologies for the rough sketch.) This is how far I have gotten: \begin{document} \begin{circuitikz} \coordinate (o) at (2.5,-1); \draw (1,3)--(...