Dan, seems to work fine on my Chromium on Ubunbtu 9.10 but i dont
think i have the daily build. The deletion maneuver (along with double-
click erase) is turned off, right click is the new deletion of
vertices.

Nice catch Rob. It should be fixed now. Tell me how it looks.

I posted a big patch with all the modifications (Kevin's and mine) at
http://trac.sagemath.org/sage_trac/ticket/8222 (there are two parts
8222-sage.patch and 8222-sagenb.patch to be applied to Sage and SageNB
corespondingly). In foresight maybe that was a bad idea to bulk
everything together in one patch (I got excited when I saw Kevin's
spring-electric algo and finished my additions). I will try to do
proper software development in the future :)

Rado

On Mar 22, 10:53 pm, Rob Beezer <goo...@beezer.cotse.net> wrote:
> Rado and Kevin,
>
> Very nice!  With the vertex numbers turned on, it takes me back.  But
> we never dared do the dynamic layout (which is both fun and useful).
>
> Some goofyness with loops.  Add a loop or two, then adjust vertex size
> with sliders and the loops seem to go away.  This is reproducible for
> me.  Before I was able to figure out how to reproduce this much, I was
> getting an extra concentric circle around some vertices (I think
> instead of loops), and as I adjusted vertex size, at some threshold
> they would jump to some totally different location (and back again on
> the other side of the threshold).  I did this several times (in new
> windows) but I can't reproduce it now.  Firefox 3.5.6 on Kubuntu 9.10.
>
> Nice improvements and great work!
>
> Rob
>
> On Mar 22, 4:44 pm, Rado <rki...@gmail.com> wrote:
>
> > Thanks to Kevin (one of William's undergrad students), we have some
> > major improvements to the graph editor. Take it for spin 
> > athttp://www.math.uiuc.edu/~rkirov2/js-graph-editor/(aSage 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 athttp://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.

Reply via email to