On 2/2/11 11:58 PM, Nicolas M. Thiery wrote:
On Wed, Feb 02, 2011 at 11:51:54PM -0800, Anne Schilling wrote:
      sage: K = KirillovReshetikhinCrystal(['A',3,1], 1,1)
      sage: G = K.digraph()
      sage: G.set_latex_options(some further option)
      sage: view(G, pdflatex=True, tightpage=True)

The second option actually already works right now even with my new code for
_latex_. So should I just leave that then? I can explain in the
documentation and the upcoming tutorial how to make the edges
colored.

I should have insisted on the *further*. Can the user for example do:

      sage: K = KirillovReshetikhinCrystal(['A',3,1], 1,1)
      sage: G = K.digraph()
      sage: G.set_latex_options(color_by_label = {0:"black", 1:"red", 2:"blue", 
3:"green"})
      sage: view(G, pdflatex=True, tightpage=True)

and still get the other options set properly by default
(format,edge_labels, edge_options)?

No, but is this really necessary? For example, currently the default
is that 0-arrows go up. But the user might not want that and overwrite
this. Doing it through G instead of K would be completely independent.

Anyway, how would you pass on the latex options to the digraph method?

Cheers,

Anne

--
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to