Re: [sage-devel] Re: Sage graphics in javascript ?
> What happened to the graph editor that was written by Rado? I forget how it > was supposed to be called. I actually remembered its existence yesterday, hence after sending my message. Here it is : sage: graph_editor? The problem with this is that one needs to run the notebook to give it a try. On the other hand, you can actually edit the file while I was only thinking of a new way to display it. You can actually give d3.js a try with the .py file I join to this post. sage: %runfile js.py sage: showg(graphs.CubeGraph(4)) Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. js.py Description: Binary data
[sage-devel] Re: Sage graphics in javascript ?
On 07/14/2013 12:17 AM, Nathann Cohen wrote: Hello everybody !!! Have you ever seen this thing ? https://github.com/mbostock/d3/wiki/Gallery It's a javascript library which seems to handle quite a range of things, and I am thinking of writing a patch that would let us draw Sage graphs using it instead of Matplotlib. Perhaps we could also use it to obtain a small interface to visually edit graphs too. Perhaps we could also use it to draw more complicated graphs, like the ones that the combinat guys like to print, with a lot of information on edges and vertices. What happened to the graph editor that was written by Rado? I forget how it was supposed to be called. Is there anybody else around here who would like to replace matplotlib with something easier to work with ? Or at least to provide another output to our objects for a while, and see how it goes ? The library seems to be GPL-compatible. See youuu ! Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
[sage-devel] Re: Sage graphics in javascript ?
On 7/13/13 9:17 AM, Nathann Cohen wrote: Hello everybody !!! Have you ever seen this thing ? https://github.com/mbostock/d3/wiki/Gallery It's a javascript library which seems to handle quite a range of things, and I am thinking of writing a patch that would let us draw Sage graphs using it instead of Matplotlib. Perhaps we could also use it to obtain a small interface to visually edit graphs too. Perhaps we could also use it to draw more complicated graphs, like the ones that the combinat guys like to print, with a lot of information on edges and vertices. Is there anybody else around here who would like to replace matplotlib with something easier to work with ? Or at least to provide another output to our objects for a while, and see how it goes ? The library seems to be GPL-compatible. Vivek worked on d3 graphics back in February. I posted about similar things in https://groups.google.com/forum/#!topic/sage-cloud/KM-UngWWoIo That's to say: go for it! Jason -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.