#12653: Add support for DiGraph(<list of iterable>)
----------------------------+-----------------------------------------------
   Reporter:  nthiery       |          Owner:  jason, ncohen, rlm
       Type:  enhancement   |         Status:  new               
   Priority:  major         |      Milestone:  sage-5.0          
  Component:  graph theory  |       Keywords:                    
Work_issues:                |       Upstream:  N/A               
   Reviewer:                |         Author:                    
     Merged:                |   Dependencies:                    
----------------------------+-----------------------------------------------
 Allow for:
 {{{
     sage: g = DiGraph({0:(1,2,3), 2:(4)}); g
     Digraph on 5 vertices
 }}}

 Currently this is either not accepted, or gives an nonsensical output:
 {{{
     sage: DiGraph({0:set([1,2,3]), 2:set([4])}).edges()
     [(0, 1, {0: {}}), (0, 2, {0: {}}), (0, 3, {0: {}}), (2, 4, {0: {}})]

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12653>
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