#9699: Barycentric embedding for planar graphs.
--------------------------------------------+-------------------------------
Reporter: fidelbarrera | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6.1
Component: graph theory | Keywords:
Author: Fidel Barrera-Cruz | Upstream: N/A
Reviewer: Nathann Cohen, Robert Miller | Merged:
Work_issues: |
--------------------------------------------+-------------------------------
Changes (by rlm):
* status: needs_review => needs_work
* reviewer: => Nathann Cohen, Robert Miller
Comment:
Doctest fail:
{{{
sage -t -long ./sage/graphs/generic_graph.py
**********************************************************************
File "/home/rlmill/sage-4.6/devel/sage-main/sage/graphs/generic_graph.py",
line 2620:
sage: g.layout(layout = "planar", save_pos = True)
Expected:
{0: [1, 1], 1: [2, 2], 2: [3, 2], 3: [1, 4], 4: [5, 1], 5: [0, 5], 6:
[1, 0]}
Got:
{0: (-0.433012701892, -0.25), 1: (1.11022302463e-16,
-7.40148683083e-17), 2: (0.144337567297, 0.25), 3: (0.433012701892,
-0.25), 4: [0.0, 1.0], 5: [0.866025403784, -0.5], 6: [-0.866025403784,
-0.5]}
**********************************************************************
}}}
Also, all of the positions should be the same format: here some are tuples
and others are lists.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9699#comment:11>
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.