On May 22, 2008, at 8:07 AM, Franco Saliola wrote: > > On Thu, May 22, 2008 at 10:50 AM, Robert Miller > <[EMAIL PROTECTED]> wrote: > >> sage: G = graphs.PetersenGraph() >> sage: sage.graphs.graph_fast.spring_layout_fast(G, iterations=50, >> dim=2) > > Perhaps this should be exposed as G.spring_layout() (or some other > name). It seems like it might be useful. Comments?
Sounds like a good idea to me. Maybe G.spring_layout_pos() to make it clear that it's returning the position dictionary, not plotting the graph or something. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---