#10124: Graph drawing has issues with edge labels
----------------------------+-----------------------------------------------
Reporter: rs | Owner: jason, ncohen, rlm
Type: defect | Status: new
Priority: minor | Milestone:
Component: graph theory | Keywords: graph drawing, edge labels
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
The following code should produce a drawing of the
Frucht graph with edges labeled 0 upto 17.
However, labels 16 and 17 are missing, while
15 is misplaced. The edge labels are set correctly
(as the last line shows), they only don't show up.
The weird thing is that other graphs work OK (at least those I tried).
{{
sage: G=graphs.FruchtGraph()
sage: E=G.edges()
sage: for i in range(len(E)):
....: G.set_edge_label(E[i][0],E[i][1],i)
....:
sage: G.show(edge_labels=True)
sage: print G.edges()
}}
It seems it happens rather rarely, so I'm not sure if it's
an issue with this graph's constructor or with the graph drawing
algorithm. Anyway, it would be nice to have this feature reliable,
I find it very useful.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10124>
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 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-trac?hl=en.