It seemed to be only associated to that cell: if I took the generated code, copied it into another cell and then made changes in the other cell, the changes saved correctly.
I tried publishing the worksheet, but that seemed to change the state of the cell sufficiently so that I can no longer duplicate the problem. All I can say is that I made a vertex, a couple edges, clicked on the help button a few times, dragged vertices off the screen to delete them... and eventually Saving stopped working. It works now. If I manage to duplicate the bug in a reproducible manner I'll let you know. David On Thu, Jan 21, 2010 at 5:01 PM, Rado <rki...@gmail.com> wrote: > Hi David, > > I couldn't reproduce that bug. One thing comes to mind is to note what > is written in the box "variable name". The js editor and Sage > communicate only when you hit save and all that happens in that the > graph in the editor is saved under the name in "variable name" box. > > When you say Save changes the cell, is the adjacency list in the cell > the new one or the original one? > > Rado > > On Jan 21, 2:40 pm, David Roe <r...@math.harvard.edu> wrote: > > I agree that it's awesome. I'm not sure if I'm using it right though. > If I > > remove a vertex from Williams example below, and then click Save, it > changes > > the cell, but the graph that it then creates is the same as before I > removed > > the vertex. The same problem seems to occur for most changes I make to > the > > graph (though I somehow got it to add a vertex and pair of edges at one > > point; I'm no longer sure how). Can other people duplicate this? This > > looks like a bug, but I'm not quite sure what the designed behavior is. > ;-) > > David > > > > On Thu, Jan 21, 2010 at 3: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 Washington > > >http://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<sage-devel%2bunsubscr...@googlegroups.com> > <sage-devel%2bunsubscr...@googlegroups.com<sage-devel%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/sage-devel > > > URL:http://www.sagemath.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<sage-devel%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.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