On Tue, Jun 16, 2009 at 12:27 AM, mark mcclure<mcmcc...@unca.edu> wrote:
>
> On Jun 15, 10:38 am, William Stein <wst...@gmail.com> wrote:
>> On Mon, Jun 15, 2009 at 12:55 PM, Dominique
>> Manchon<manc...@math.univ-bpclermont.fr> wrote:
>>
>> > Hello!
>>
>> > I'm a newcomer into Sage and Python. When I want to draw some
>> > graphical representation of graphs I get problems
>>
>> Despite years of work, drawing graphs in Sage is still pretty broken.
>
> Graph drawing works well enough for me, when I just want a quick
> idea of what's going on.  If I need a well drawn graph, I just export
> to Graphviz.  Graphviz is open source but I seem to recall that its
> license is not Sage compatible.  It is, nonetheless, freely available.

True, but I will be happier when Sage's graph drawing is at least as
good as Graphviz's.

Who amongst you is up to the challenge?

> Here, for example, is the Cayley graph of the alternating group A5:
>
> A = AlternatingGroup(5)
> G = Graph(A.cayley_graph())
> s = G.graphviz_string()
> f = open('graphfile.dot', 'w')
> f.write(s)
> f.close()
>
> If you now open graphfile.dot in Graphviz, you should get a
> an interpretable version of quite a complicated graph.
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to