It's true that having Graphviz to plot our graphs would be very interesting.... I'd like to spend some time on this, but I sent a lot of patches to be reviewed already in the Graph section and I am not sure it is a good idea to send even more for the moment ^^;
There was a second question in my message, which made me doubt about whether I should send it to sage-support or to sage-devel : Is there any existing way to know which new features are included in the optional packages and why we should install them ?? How could I know it would be interesting for me to install option package XXXXX if it appears nowhere in the tutorials, nowhere in the reference, and if there is not even an accurate descriptions of all the available optional spkg ? Can we really expect the users to grep their sage installation ( which I should have tried anyway, thank you Jason ^^; ) to know the effect that will be produced by the installation of a new package ? I tried to document it when possible for Linear Programming and CBC, but if there is none at the moment, I think we should definitely find a way to build an index of optional packages and their use !!!! What do you think of this ? :-) And thanks again for your help !! :-) Nathann On Aug 21, 8:25 pm, Robert Bradshaw <rober...@math.washington.edu> wrote: > On Fri, 21 Aug 2009, Jason Grout wrote: > > > Nathann Cohen wrote: > >> Hello !!!! > > >> As we are dealing in Sage with a patch concerning the plotting of > >> Trees, I wondered why we were not using Graphviz to plot them.. The > >> answer is the usual one : Graphviz is not GPL-Uncompatible... Even > >> though, there is in Sage an optional package for Graphviz that can be > >> installed pretty easily.. But I have one question : how is it used ? > >> Is there any function in Sage using graphviz, if so, which one ? Is > >> there any documentation available for optional spkg ? > > > A quick grep through the source of the graphs/ directory doesn't show > > any calls to dot, neato, or circo. I've used the > > "graphviz_to_file_named" method to save out a graphviz file, and then > > run dot/neato/whatever from the command line. > > > I would *love* to have "layout='dot'", "layout='neato'", etc., options > > to the graph plotting which would use the graphviz optional spkg if > > installed. > > Or even if graphviz was in your path (installed from an spkg or not), and > a sensible error otherwise. > > > Right now the graphviz_to_file_named method doesn't seem to > > support edge colors, etc., so it would be fantastic if all of the graph > > plotting options worked as well. > > +1 > > - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---