#13418: Add method for drawing graphs using Ivan Kuckir graph drawer
--------------------------------+-------------------------------------------
       Reporter:  slabbe        |         Owner:  slabbe      
           Type:  enhancement   |        Status:  needs_review
       Priority:  major         |     Milestone:  sage-5.4    
      Component:  graph theory  |    Resolution:              
       Keywords:                |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:                |     Merged in:              
   Dependencies:                |      Stopgaps:              
--------------------------------+-------------------------------------------
Changes (by slabbe):

  * status:  needs_work => needs_review


Old description:

> This adds the following method :
>
> {{{
> sage: g = graphs.PetersenGraph()
> sage: g.html_ivan_kuckir()
> <html><font color='black'><iframe
> src="http://g.ivank.net/g.html#10:1-2,1-5,1-6,2-3,2-7,3-4,3-8,4-5,4-9,5-10,6-8,6-9,7-9,7-10,8-10";
> width="500" height="500" style=
> "border:none;"></iframe></font></html>
> }}}
>
> It works well in the notebook and the result can be seen at this adress :
>
> http://g.ivank.net/g.html#10:1-2,1-5,1-6,2-3,2-7,3-4,3-8,4-5,4-9,5-10,6-8,6-9,7-9,7-10,8-10
>
> References :
>
> http://www.chromeexperiments.com/detail/graph-drawer/
> http://g.ivank.net/

New description:

 This adds the following method :

 {{{
 sage: g = graphs.PetersenGraph()
 sage: g.html_ivan_kuckir()
 <html><font color='black'><iframe
 
src="http://g.ivank.net/g.html#10:1-2,1-5,1-6,2-3,2-7,3-4,3-8,4-5,4-9,5-10,6-8,6-9,7-9,7-10,8-10";
 width="500" height="500" style=
 "border:none;"></iframe></font></html>
 }}}

 It works well in the notebook and the result can be seen at this adress :

 
http://g.ivank.net/g.html#10:1-2,1-5,1-6,2-3,2-7,3-4,3-8,4-5,4-9,5-10,6-8,6-9,7-9,7-10,8-10

 References :

 http://www.chromeexperiments.com/detail/graph-drawer/
 http://g.ivank.net/

 '''Apply''': [attachment:13418_ivank_graph_drawer-sl.patch]

--

Comment:

 Oups, I updated the patch but forgot to click the box. Redone it: now both
 patches are the same.

 The patch now works for any graph !

 (there might be a limit for the size... I don't know)

 Needs review!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13418#comment:3>
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.

Reply via email to