#10276: Create a random triangulation (max planar graph)
----------------------------------+-----------------------------------------
Reporter: edward.scheinerman | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_info
Priority: major | Milestone:
Component: graph theory | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Ed Scheinerman
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Comment(by edward.scheinerman):
Hi Rob,
I thought about this some more. Your comments make perfect sense. The
`RandomTriangulation` method can edited to provide an embedding by
stereographically projecting the vertices of the polytope into the plane.
But I fear that this would give pictures that are mathematically correct
but visually awful. I can sketch out the method offline if you like.
What Sage really needs (and I'm not knowledgeable enough to do this) is a
really good planar graph layout algorithm. Compare:
{{{
g = graphs.DodecahedralGraph()
g.show()
}}}
to
{{{
g = graphs.DodecahedralGraph()
g.plot(layout='planar')
}}}
If you think adding the stereographic projection embedding is worthwhile,
I'd be happy to have you add it to this method. (I found creating patches
and the like to be non-intuitive ... I'm willing to work on the code, but
then have you upload it to this site :-)
Best,
Ed
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10276#comment:5>
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.