This blog is a continuation of my other blog.

In order to use this examples in your LaTeX documents, you first need to make sure you have TikZ installed. Then you need to get tkz-arith.sty, tkz-graph.sty and tkz-berge.sty from here (they are included in berge.zip) and install them “where LaTeX can find them” (if you do not know what that means, you can just put them in the same directory as your document).
Then, you can paste the examples in a document such as:
\documentclass{article}
\usepackage{tkz-berge}
\begin{document}
.... example goes here...
\end{document}


and compile it with pdflatex.

UPDATE: This is old news, but tkz-berge and tkz-graph are now in CTAN, in texlive 2011, and in MikTeX. See tkz-berge and tkz-graph.

September 4, 2010 3:54 am

Hi
you have a useful weblog.
I need a software that I can draw a graph and export that to latex tikz.
Can you help me?

• September 11, 2010 11:19 pm

I think there are several options for editing graphs in .dot format, and then you could use dot2tikz. Or for a more complicated but far-reaching solution, you could use Sage (sagemath.org), which includes a graph editor, and an exporter to tkz-graph.sty syntax.