I need to draw simple graph (for example Petersen Graph) in latex. I am using Kile in Ubuntu. I exactly don't know that which package should I use. Any suggestion with example is highly expected.
|
|
I think the best approach is to use the tkz-berge from Altermundus. You can also find a complete guide here. However, to make a simple example just using
which leads to:
It is an example of a Markov Chain in which several |
|||||||
|
|
You can use the tkz-berge package . This package uses TikZ it's possible to add all the commands of TikZ. Here the three classic forms of Petersen's graph
I wrote a document with some classic named graphs. It's inside the your distributiion (>2011 I think)
I added the sources and all the examples you can also find them here |
||||
|
|
|
Here an example to draw the Petersen's graph only with TikZ I try to structure correctly the code. The first scope is used for vertices ans the secon one for edges. The only problem is to get the edges with `mod``
The complete code
|
|||
|
|


