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

Thanks,

Jason


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

Reply via email to