Possible Duplicate:
Typesetting a directed, weighted graph with TikZ
I would like to draw a DAG - Directed acyclic graph. How can I do this?
Possible Duplicate:
Typesetting a directed, weighted graph with TikZ
I would like to draw a DAG - Directed acyclic graph. How can I do this?
A solution with tkz-graph based on TikZ. You can used the styles from TikZ but you need to learn another syntax (very minimal) and you can use TikZ.
An advantage is that you can use scale without difficulty.
\documentclass{scrartcl}
\usepackage{tkz-graph}
\usetikzlibrary{shapes.geometric}%
\thispagestyle{empty}
\begin{document}
\tikzstyle{VertexStyle} = [shape = ellipse,
minimum width = 6ex,%
draw]
\tikzstyle{EdgeStyle} = [->,>=stealth']
\begin{tikzpicture}[scale=1.5]
\SetGraphUnit{2}
\Vertex{11} \NO(11){5} \WE(11){2} \SO(11){7} \EA(11){10}
\SOEA(11){9} \SOEA(10){3}\SOEA(9){8}
\Edges(5,11,10) \Edges(3,8,9) \Edges(7,11,2)
\Edges(11,9) \Edges(3,10)
\end{tikzpicture}
\end{document}
The first example of your link gives

TikZandpstricks. You will find much information and examples in the web. For example: http://tug.org/PSTricks/main.cgi?file=examples or http://www.texample.net/tikz/examples/ – Marco Daniel Dec 17 '11 at 11:44automataandpositioninglibraries.:)– Paulo Cereda Dec 17 '11 at 11:54