Glad you liked it. I will write up the README in the next few days. The spring layout definitely can be improved as I put in the first thing that came to mind, but I know those things have been studied and there are advanced algorithms. Eventually the sliders can be removed if the algorithm is smart enough to pick the values that produces the best looking graph.
Rado On Jan 21, 2:22 pm, William Stein <wst...@gmail.com> wrote: > Hi, > > The new graph editor in sage by Rado is AWESOME. One can try it > easily athttp://sagenb.orgby typing: > > g = graphs.CompleteGraph(10) > graph_editor(g) > > The actual source code is at > > > local/lib/python/site-packages/sagenb-0.6-py2.6.egg/sagenb/data/graph_editor/ > > It would be *GREAT* if there were a README.txt file in that directory > that explained what all the js files actually are, something about how > the graph editor works, where the code that does spring layout > dynamically is located, etc. I looked at the code for five minutes > and couldn't deduce answers to any of those questions. > > So, could somebody familiar with the graph editor write something and > post a patch. Or just respond to this email with what would go in a > README.txt? I have two undergrads who might want to work on that > code, but it would help a lot of there were some docs. > > William > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org