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 -~----------~----~----~----~------~----~------~--~---