[sage-devel] Re: new version of the graph editor

2010-03-30 Thread Rob Beezer
On Mar 28, 4:59 pm, Rado wrote: > True. I made right-click as the first thing that came to mind, once I > removed the drag-n-drop capability. What about hitting 'd' (with the > canvas in focus of course) erases the selected vertex? I think that would be a good choice. Documented via the "Help" b

[sage-devel] Re: new version of the graph editor

2010-03-28 Thread Rado
On Mar 28, 5:33 pm, Rob Beezer wrote: > Hi Rado and Kevin, > > Very nice work on this.  I've been putting it through its paces this > weekend and it works quite well.  Fed it the Higman-Sims graph (100 > vertices, regular of degree 7, interesting automorphism group) and let > the spring-electric a

[sage-devel] Re: new version of the graph editor

2010-03-28 Thread Rob Beezer
Hi Rado and Kevin, Very nice work on this. I've been putting it through its paces this weekend and it works quite well. Fed it the Higman-Sims graph (100 vertices, regular of degree 7, interesting automorphism group) and let the spring-electric algorithm work on it overnight. It never converged

[sage-devel] Re: new version of the graph editor

2010-03-26 Thread Rado
I got another complaint about the patch, so I made a new one. Go to http://trac.sagemath.org/sage_trac/ticket/8222#comment:7 and try the new patch. Btw, great work on the triangulation editor, I just tied it on your server. I don't know anything about FEM to comment on that, but happy the graph_ed

Re: [sage-devel] Re: new version of the graph editor

2010-03-26 Thread Ondrej Certik
On Fri, Mar 26, 2010 at 11:15 AM, Pablo Angulo wrote: >> > I've noticed that the graph editor is viewable in published worksheets. >> > Should this behaviour be disabled? >> >> Why? > It's confusing. It looks like you can edit the page while you really > can't. It'd better if the javascript were d

[sage-devel] Re: new version of the graph editor

2010-03-26 Thread Pablo Angulo
> > I've noticed that the graph editor is viewable in published worksheets. > > Should this behaviour be disabled? > > Why? It's confusing. It looks like you can edit the page while you really can't. It'd better if the javascript were disabled. But wait, interacts are also alive on published works

Re: [sage-devel] Re: new version of the graph editor

2010-03-26 Thread William Stein
On Fri, Mar 26, 2010 at 9:12 AM, Pablo Angulo wrote: > I've noticed that the graph editor is viewable in published worksheets. > Should this behaviour be disabled? Why? William -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email

[sage-devel] Re: new version of the graph editor

2010-03-26 Thread Pablo Angulo
I've noticed that the graph editor is viewable in published worksheets. Should this behaviour be disabled? -- 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

[sage-devel] Re: new version of the graph editor

2010-03-24 Thread Rob Beezer
On Mar 24, 9:07 pm, Rado wrote: > I am thinking about throwing away "auto-maximize off" as it nothing > but headaches. Don't see any reason why anyone would want vertices off > the screen. Yes, that'd be a quick fix. ;-) > So there is no escaping some "weirdness". I suspected as much. > If it

[sage-devel] Re: new version of the graph editor

2010-03-24 Thread Rado
On Mar 24, 3:00 pm, Rob Beezer wrote: > On Mar 22, 11:09 pm, Rado wrote: > > > Nice catch Rob. It should be fixed now. Tell me how it looks. > > Loops are behaving much better.  Is there a natural way to make them > rotate in the live layout (maybe add a fake invisible vertex on the > loop oppo

[sage-devel] Re: new version of the graph editor

2010-03-24 Thread Rob Beezer
On Mar 22, 11:09 pm, Rado wrote: > Nice catch Rob. It should be fixed now. Tell me how it looks. Loops are behaving much better. Is there a natural way to make them rotate in the live layout (maybe add a fake invisible vertex on the loop opposite the attachment point to force it to adjust itself

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Rado
Cool. The notebook integration is kinda hacky but works. The python code outputs a bunch of html tag - an iframe with the editor and hidden input tag with the data. The iframe takes it from there and reads in the data. Send me an email if you need help with it. Glad it works with Nexus One. On the

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
It worked up to the point where I got some: "Hunk #1 FAILED at 0" and similar errors, with a final "abort: patch failed to apply" Thanks for your help, but it looks like I need to learn more about this mercurial before I proceed. -- To post to this group, send an email to sage-devel@googlegroups.

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Rado
The only way I know is (I am kinda new to all this): 1) unzip sagenb in spkg/standard 2) go to the subfolder containing setup.py 3) SAGEPATH\sage -python setup.py develop 4) hg patch *patchname* hope that helps. Rado On Mar 23, 9:07 am, Pablo Angulo wrote: > Well, it's not done. I found some s

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
Well, it's not done. I found some source files but they're not the ones the system is using. I'd appreciate your help for applying the patch -- 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

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
It's done, I just had to change to the right directory -- 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 U

[sage-devel] Re: new version of the graph editor

2010-03-23 Thread Pablo Angulo
Hello, I'd like to review this patch, but I don't know how to apply patches to sagenb: can you give me a link? Thanks -- 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

[sage-devel] Re: new version of the graph editor

2010-03-22 Thread Rado
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 wit

[sage-devel] Re: new version of the graph editor

2010-03-22 Thread Rob Beezer
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 m