#13624: KeyError raised by GraphLatex.dot2tex_picture when edge_labels=True
------------------------------------------+--------------------------
       Reporter:  slabbe                  |        Owner:  tbd
           Type:  defect                  |       Status:  needs_info
       Priority:  major                   |    Milestone:  sage-6.2
      Component:  packages: optional      |   Resolution:
       Keywords:  dot2tex, graph drawing  |    Merged in:
        Authors:  Nicolas M. ThiƩry       |    Reviewers:
Report Upstream:  N/A                     |  Work issues:
         Branch:                          |       Commit:
   Dependencies:                          |     Stopgaps:
------------------------------------------+--------------------------
Changes (by tscrim):

 * status:  needs_review => needs_info


Comment:

 Currently in `6.2.rc0`, the example given in the description works:
 {{{
 sage: G = DiGraph()
 sage: G.add_edge(333, 88, "my_label")
 sage: G.set_latex_options(format="dot2tex", edge_labels=True)
 sage: latex(G)

 \begin{tikzpicture}[>=latex,line join=bevel,]
 %%
 \node (node_1) at (11.000000bp,79.000000bp) [draw,draw=none] {$333$};
   \node (node_0) at (11.000000bp,7.000000bp) [draw,draw=none] {$88$};
   \draw [black,->] (node_1) ..controls (11.000000bp,61.481000bp) and
 (11.000000bp,39.548000bp)  .. (node_0);
   \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
   \pgfsetstrokecolor{strokecol}
   \draw (38.000000bp,43.000000bp) node
 {$\text{\texttt{my{\char`\_}label}}$};
 %
 \end{tikzpicture}
 }}}
 So how much of this ticket should we keep or should we just close as a
 "works-for-me"?

--
Ticket URL: <http://trac.sagemath.org/ticket/13624#comment:50>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to