Thanks to Kevin (one of William's undergrad students), we have some major improvements to the graph editor. Take it for spin at http://www.math.uiuc.edu/~rkirov2/js-graph-editor/ (a Sage patch will follow soon). I have only tested it in Firefox on Linux so interested to hear if anybody has some problems with it.
improvements: - repulsion between vertices and dynamic zooming (so vertices never fly off stage). - circular layout - vertex numbering - one-step undo - loops - communication b/n Sage and JS is done in proper JSON - and many more (make sure you click the tweak button) I have to change the UI to accommodate some of the new features. There is no more dragging out of the screen to erase vertices. While it was cool, it required tweaks to the processing.js library. Since the library is still in active development, it is best to be able to drop the newest version and have the graph editor work. The new way of deleting vertices is right-click. Double-click now toggles a loop at the vertex. To spur further development I have created a separate repo for the project at http://bitbucket.org/radokirov/js-graph-editor/ . Compatibility with Sage is the number one priority, so the graph editor will always be compatible with the way Sage calls it. Next step is labels for edges and vertices and directed graphs. Processing.js seems to be doing well at displaying text and with JSON data transfer this should relatively easy to implement. Rado -- 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 To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.