9 May 19:30
Re: graph with tikz
Alain Matthes <alain.matthes <at> mac.com>
2007-05-09 17:30:39 GMT
2007-05-09 17:30:39 GMT
Le 9 mai 07 à 18:52, Rafael Villarroel a écrit :
> Alain Matthes <alain.matthes <at> mac.com> writes:
>
>> If you like the graph theory, a new package with Tikz/Pgf
>> to create graphs.
>>
>
> Great, just great! Many thanks for sharing your work.
>
> Some comments:
>
> 1) the definition of the Heawood graph is wrong. It works
> for me if in the definition of \grHeawood I change the line
>
> {\nextmod{\x}{14}{1}\Edge(\cmdGR <at> classique <at> prefix\x)
> (\cmdGR <at> classique <at> prefix\thenext)}
> ^
> to
>
> {\nextmod{\x}{14}{2}\Edge(\cmdGR <at> classique <at> prefix\x)
> (\cmdGR <at> classique <at> prefix\thenext)}
> ^
> 2) In the icosahedron graph, the edge
>
> \Edge(a0)(b5)
>
> is missing. Also, I do not understand why the size of the "inner"
> triangle does not seem to be change if I change the options. I can
> only get a nice, small icosahedron with parameters like:
> \begin{tikzpicture}[scale=0.5]
> \tikzstyle{NormalVertexStyle}=[shape = circle,%
> shading = ball,%
> ball color = orange!60!black,%
> minimum size = 4pt,%
> draw]
> \SetVertexNoLabel
> \tikzstyle{EdgeStyle}= [thick,%
> double= orange,%
> double distance = 1pt]
> \grIcosahedron[RA=8,RB=3]
> \end{tikzpicture}
>
> 3) It would be great if one could have a macro where one could use the
> "LCF notation" (http://mathworld.wolfram.com/LCFNotation.html). That
> would instantly draw many pretty graphs!
>
Thanks Raphael
I wanted to send an email to you but I did not know your address and
on your blog, I did not find it.
because I know your interest for the graphs !
Yes my Heawood graph is wrong ... and for icosahedron graph I put a
bad %
and after I delete tne comment :( thanks and bravo !! for the
correction
I make also a mistake with the names Wheel, Star et Regular the
evening i put
a new version 1.3
I did not know LCF notation but I can look at what I can do. Simply,
I await the next version of Tikz with its library of maths because I
will be able to improve my algorithms. Moreover I did that for the
graphs circulating at the end and I hope to more use it for other
constructions.
Sorry my english is not very good
Greetings Alain
PS :one comment : on your blog the link to my site is wrong !
Do you want that I put a link to your blog on my site ?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
RSS Feed