On Sat, Apr 5, 2008 at 1:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> In a recent post, William wrote:
>
> "Unfortunately there appears to be no way in Sage to make the edges of
> graphics not be really thick."
>
> This is a more general issue. Currently, when drawing an object that
> requires drawing multiple graphics objects, I haven't noticed a good,
> consistent way to specify options for the parts of the object (maybe I
> haven't looked hard enough!) Is there a way?
>
> For the graph.plot() command, how about we have an "edge_style" and a
> "vertex_style" parameter. These parameters take a dictionary which is
> then passed straight into the edge plotting commands or the vertex
> plotting commands. So, for example, William's, um, enhancement request
> above would be:
>
> g.plot(edge_style={width: 0.05})
>
> It would be nice to be able to also be able to specify different
> edge_style parameters for different edges in a graph. I can't think of
> a good way to do that. Any suggestions?
I like your suggestion. Implement it and submit a patch.
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---