Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If this helps, you can get TikZ/tkz code from sage for the Dodecahedral graph (and similarly for the Icosahedral graph) as follows.

g.set_latex_options(tkz_style = 'Art')
print latex(g)
# very long output

Sample output after compiling the LaTeX code:

image description

However if you just want the coordinates of the vertices, then g.get_pos() will return a dictionary containing the coordinates.